hi
on the fdatool i designed a fir hamming filter and generated the m
file and got this
Fs = 48000; % Sampling Frequency
N = 5000; % Order
Fc1 = 1000; % First Cutoff Frequency
Fc2 = 15000; % Second Cutoff Frequency
flag = 'noscale'; % Sampling Flag
% Create the window vector for the design algorithm.
win = hamming(N+1);
% Calculate the coefficients using the FIR1 function.
b = fir1(N, [Fc1 Fc2]/(Fs/2), 'bandpass', win, flag);
Hd = dfilt.dffir(b);
i have sinwave signal using x=sin(2*pi*f*t1); but how do i pass the
signal though this filter
i tried this x2 = x.*b; and just got a cross and i dont know what Hd
is used for
does anyone have any ideas on how to pass the signal though the
filter
thanks
james bond