Reputation: 9
I have EGG data regarding brain waves but want to filter it so it only shows a certain frequency (for example: alpha) how is this possible in Matlab?
I understand it may be best to use a bandpass filter, if so could you elaborate what this means?
Upvotes: 0
Views: 65
Reputation: 14684
Using a Fast Fourrier Transform you can choose yourself the frequency you'd like (see explanations) :
Fs = 1000; % Sampling frequency T = 1/Fs; % Sampling period L = 1000; % Length of signal t = (0:L-1)*T; % Time vector S = 0.7*sin(2*pi*50*t) + sin(2*pi*120*t); X = S + 2*randn(size(t)); Y = fft(X);
Also as you mentionned see the filters -> Filter Designer
Upvotes: 1