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

조회 수: 103 (최근 30일)

답변 (1개)

Geetla Sindhu
Geetla Sindhu 2022년 11월 8일
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:
  1. Go to Model Configuration Parameters and select Data Import/Export.
  2. Untick the Single simulation output and click on Apply.
  3. 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.
  4. Run the simulation.
  5. 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.
Hope this resolves your issue.
Thank you.
  댓글 수: 3

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Spectral Measurements에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by