I am running a test signal (white noise) through filter so that i can validate the frequency response and magnitude.
Below is the code I'm using to test the filter
%Test 1
Fs = 44100x = randn(1,44100); % Signal = randn (fs*dur,1) shall generate 1 channel signal with certain sampling frequency and duration
[b1,a1]=fourbandEQ(30,0,1, 300,0,1, 1000,0,1, 5000,0,1, Fs);y = filter (b1,a1,x); % y = filter(b,a,X) Y is output signal, X is input signal, b is array of
%denominator coefficients , a is numerator
Best Answer