Reputation: 8333
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: 2392
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