How to perform a FFT on a time domain waveform in Simulink.

1 次查看(过去 30 天)
Good day, I am Olando Fraser a final year student at the University of the West Indies, St. Augustine Campus. I am doing a Simulation of a BLDC motor usinf Simulink. I want to do a FFT on the current waveform of my motor which is a time domain waveform. other than using the FFT block in simulink I was told I can save the waveform in a data file and use this in matlab with the fft funtion in matlab. Can anyone help me with this please. I want to know how to save the waveform and how can i use it to do an FFt in matlab. Thank you

回答(1 个)

Sabin
Sabin 2023-2-11
For an example of how to write data to the workspace and to a file respectively check:
For more insights about how to use the fft function check:

类别

Help CenterFile Exchange 中查找有关 Electromechanical 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by