- Go to Model Configuration Parameters and select Data Import/Export.
- Untick the Single simulation output and click on Apply.
- Double click on the scope of the signal for which you want to perform the FFT Analysis and go to Logging Tab, tick the “Log data to the workspace” option and select Save format as “Structure with Time” and click on Apply.
- Run the simulation.
- Double click Powergui >> Tools >> FFT Analysis. Now the signal will be visible and by clicking on “Compute FFT”, the THD of the signal is displayed.
how to do FFT analysis in MATLAB 2021a ? i am having an issue in getting THD from the scope can any one suggest me a idea.. it will
84 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1182593/image.png)
0 Kommentare
Antworten (1)
Geetla Sindhu
am 8 Nov. 2022
Hello Dhanesh,
I understand that you are not able to view the signal and get THD of that signal using Powergui FFT Analysis tool.
The reason for this is that, in the Model Configuration Parameters in "Data Import/Export" Section, the option "Single simulation output" has been selected.
You can try the workaround provided below to solve the issue:
You can also refer to Powergui FFT Analysis Tool doesn't work! - MATLAB Answers - MATLAB Central (mathworks.com) for further information.
Hope this resolves your issue.
Thank you.
1 Kommentar
Siehe auch
Kategorien
Mehr zu Spectral Measurements finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!