What I am trying to do is to design a Butterworth Bandpass
filter using Matlab, High frequency must equal to 16 Hz and lower
frequency must be 10Hz (passBand). and the input signal must be a
white noise signal.
here is my code :
mu=0;
sigma=2;
X= sigma*randn(500,1)+mu; %Generating White Noise
signal
Fs=500;%Sampling Frequency
Fh= 16;
Fl=10;
order=6;
[b,a]=butter(order,[Fh
Fl]/(Fs/2),'bandpass');%Butterworth BandPass filter
XX=filtfilt(b,a,X);%filter the signal both forward and
backword in time
Actually, I am not sure about Fs value that...