FFT analysis through powergui block is showing empty in signal options.
์กฐํ ์: 122 (์ต๊ทผ 30์ผ)
์ด์ ๋๊ธ ํ์
Hi all,
I have to obtain the fft bar plot of the 5 level stepped sinusoidal wave which is the output of the 5 level cascaded multilevel inverter. I have changed the scope settings also to loggin>struct with time. I have tried changing the powergui to discrete as well with different time steps. Still i am not able to view anything in the FFT bar plot. Can anyone suggest any remedy for it or is there any setting problem in my MATLAB. I'm using MATLAB 2019 version.
๋๊ธ ์: 22
๋ต๋ณ (4๊ฐ)
SALAH alatai
2021๋
5์ 31์ผ
Go to model configuration parameters in "Data Import/Export" Section, you will find the option "Single simulation output" has been selected. remove the tick on single simulation output".
๋๊ธ ์: 6
Eng.
2023๋
10์ 14์ผ
In response to Mr. Salah's correct solution, I attach his solution steps with pictures. Thank you Mr. Sala
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1510779/image.png)
๋๊ธ ์: 1
mohammad ebrahimy
2021๋
3์ 15์ผ
the Answer is in the comments of post ๐
in case you didn't see it
๋๊ธ ์: 0
Kaashyap Pappu
2019๋
7์ 26์ผ
Hi,
Given that I have been unable to reproduce this issue, a possible workaround I have identified would be to connect the output of the โPS-Simulink Converterโ to the โScopeโ, check โLog Data to workspaceโ under the Logging tab and select โSave formatโ as an Array.
Run the model, and the logged data would appear as an array with 2 columns. Using the โfftโ function and โbarโ function, calculate the Fourier transform on the second column of the logged variable and obtain the bar plot. If the variable name is ScopedData, the second column can be accessed using ScopedData(:,2).
Use the โabsโ function to obtain the magnitude of FFT. Note that "fft" returns a 2-sided spectrum.
Hope this helps.
๋๊ธ ์: 0
์ฐธ๊ณ ํญ๋ชฉ
์นดํ ๊ณ ๋ฆฌ
Help Center ๋ฐ File Exchange์์ Spectral Measurements์ ๋ํด ์์ธํ ์์๋ณด๊ธฐ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!