How to display time domain signal in Frequency domain?

Status
Not open for further replies.

tarakapraveen

Member level 5
Joined
Jan 18, 2007
Messages
83
Helped
6
Reputation
12
Reaction score
3
Trophy points
1,288
Activity points
1,855
Hi friends,

I am trying to display time domain signal in Frequency domain using Matlab.I took frequency of signal as 100hz and sampling frequency as 1000sampels/sec

I have tried using 'fft' function but not getting.

Anyone of you give me the solution for displaying frequency spectrum for any signal using MATLAB

Thanks in Advance,
Goud
 

Hi

why dont include your code, it is difficult to know what you are really doing. In any case it should be something like this
fftshift(abs(fft(x)))

where x is has the values of your signal

if you think this info is useful click on "helped me" for statistics

Sal
 
its already given in matlab help.
 

i would also like to know. Can you please give the code

Sidd
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…