Reputation: 8343
I am trying to determine the frequency of a signal given as a vector in Matlab.
Any idea how to do it ?
Upvotes: 2
Views: 2394
Reputation: 9784
use fft()
function in Matlab.
This contains both the phase and amplitude, to get the amplitude only you can use abs(fft(..))
Upvotes: 4