How can I perform a FFT on a time domain waveform in simulink??
1 view (last 30 days)
Show older comments
Good day, I am Olando Fraser a year 3 Electrical and Computer Engineering student at the Univeristy of the West Indies, St Augustine Campus. I am using the simulink software for my final year project and I need some assistance. I am simulating a BLDC motor but I need to run a FFT on the waveform in matlab. How can i save the simulink waveform in some data file to perform the FFT in matlab??. Please help.
0 Comments
Answers (1)
Vaibhav Awale
on 13 Jan 2016
Hi,
Simulation data can be saved to MATLAB workspace by using a "To workspace" block or by right clicking on signal, navigating to properties and checking the "Log signal data" check-box.
Refer to following link for more information:
Regards,
Vaibhav
3 Comments
Vaibhav Awale
on 15 Jan 2016
You can use the variable from your workspace directly in your FFT function.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!