How can I get the frequencies of a signal converted from time domain to frequency domain via FFT command
2 次查看(过去 30 天)
显示 更早的评论
Hi, I have a time domain signal which is saved in the attached picture. based on this time domain signal I need to convert it to frequency domain in the form of magnitude, frequency amd phase. I have used fft function in matlab and obtained the magnitudes and the phases , but I still need to find what are the frequencies related to the obtained magnitudes and the phases. Once I establish the data base of the magnitudes, phases and frequency for the time domain signal, I need to carry out further bode diagram analysis. Any suggestion how to obtain these frequencies in matalab?
0 个评论
采纳的回答
David Goodmanson
2016-10-15
编辑:David Goodmanson
2016-10-15
If your frequency array runs from 0 to F, then F = 1/dt, where dt is the spacing between points in the time array. However, if you are taking the fft just of the time waveform in your plot, the sharp cutoff of the waveform at 600 sec is going to have a bad effect. To get the correct frequency components you need a waveform that decays all the way down to zero, if that is what it is eventually doing.
3 个评论
David Goodmanson
2016-10-18
It appears that you are looking at the response of a low-pass filter to a step function input. If that's the case, if you Fourier transform the time derivative of the pressure waveform you should obtain the frequency response for a bode plot. There will also probably need to be a multiplicative factor as well, due to the step function height.
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!