From: Maria on
Hi,

Im trying to do an fft on a set of data. when i come up to calculating the phase

for j=1:NFFT/2,
Phi(j)=phase(Y(j));
end

I encounter the error message: ??? Undefined function or method 'phase' for input arguments of type 'double'.
Do I have to specify anything else (regarding the phase) beforehands?

Thanks for your help!