#### davyzhu

##### Advanced Member level 1

**matlab spectrum**

Hi all,

I am a Matlab newbie

How to get frequency spectrum of a vector data? (something like [3 4 2 10 ...])

I heard FFT is the time-frequency fransform. And I tried fft() function in Matlab.

But it return a complex number. Is it stand for both frequency and phase?

Any suggestions will be appreciated!

Best regards,

Davy