need help in FFT

Status
Not open for further replies.

faysal1

New Member
AOA
I am stuck with a problem sir n need your immediate help. I get an
EEG signal from net and try to process it.

Q. What is the result of taking FFT of a signal?

Q. What is on horizental and vertical axis when we plot result from
FFT?

I said that on x axis it is frequency in hertz but i was opposed and
said that we have to do something more to the result of FFT to get
frequency in hertz. What i have to do with this to get frequency in
hertz. And also tell me how to interpret the resultf of FFT and how
to visualize the frequencies.

These are some prolems which i have tried my best to solve but was
unable and i aslo asked from the people here in university but no
one exactly knows about it. Now you are requested to plzzzzzz check
these things and tell me about it.
Looking to hear from you ASAP.

Best Regards
 
We don't mind helping you but we won't do all of the work for you. Please post what you've already done including any ideas you've had and we might be able to make some suggestions. If you've got completely no idea then may be it's your lecuturer's fault and it isn't right that you make him/her look good by cheating and copying from the Internet.
 
Oh come on!

First hit in a search engine:
**broken link removed**

Universities defiantly need to up the standard.
 
i have done upto here.............

here i took the a.txt an eeg file from internet, but i donot get my required frequcies.....

please help me....in

Q: In normalizing the FFT.

Q2: in showing the frequencies in HERTZ, in x-axis.



Parameters---------------------------------------------------------------
N = 1000; % number of points for FFT
fs=200
dt = 1/fs; % sampling time, 1/Fs where Fs is sampling frequency
%T = 1; % final time

w1=0.12
w2=0.18
wn=[w1 w2]
% Data---------------------------------------------------------------------
t = 0:dt:1; % time data
y =textread('a.txt') % signal
Y = fft(y,N);

% Post processing----------------------------------------------------------
k=fir1(N,wn,'bandpass')
k1=conv(y,k)
Pyy = 2*abs(Y) / min(N,T/dt);
f = 1/dt*(0:N/2)/N;
%figure;
%plot(f,Pyy(1:N/2+1))
%title('Frequency content of signal')
%xlabel('frequency (Hz)')
%ylabel('amplitude of each mode')
%grid on

% figure;

% freqz(k,k1,n,fs);

% End--

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