How to create a frequency bode plot with FFT in Matlab from an output in Simulink
22 次查看(过去 30 天)
显示 更早的评论
I have a Quarter-vehicle suspension model (2 Degrees of Freedom) designed in simulink with two different time outputs from each mass ('To Workspace' block).
Then, I'd like to know how to import the data from the outputs to Matlab in order to develop a FFT function.
Finally, I don't know how to create in Matlab a FFT function with a bode plot between two determined frequencies to appreciate the amplitude of the different outputs.
Kind regards.
0 个评论
回答(1 个)
Rhea Chandy
2021-5-7
Hello Jorge,
This previously answered question : How to plot bode plot from FFT data may give you an idea of where to start.
To develop the fft, take a look a look at the examples in this documentation page: Fast Fourier transform (mathworks.com)
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!