Determine signal frequency
I am trying to determine the frequency of a signal given as a vector开发者_运维问答 in Matlab.
Any idea how to do it ?use fft()
function in Matlab.
This contains both the phase and amplitude, to get the amplitude only you can use abs(fft(..))
精彩评论