Clear Filters
Clear Filters

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

1 view (last 30 days)
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

Answers (1)

Sabin
Sabin on 11 Feb 2023
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:

Products

Community Treasure Hunt

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

Start Hunting!