Actually i want to design a multipath communication channel using fir filter, like a0,a1,a2...would be the gain of those paths and there would be delay associated with each path and that would be a real no. rather than integer, so that as a impulse response of the channel I get the Varying amplitude impulses shifted by some real no.(i.e. time delay of the path)...
my input is sinewave with noise..and i implement 2 nd order fir filter..i want matlab code..
- - - Updated - - -
Hi,
I generated sine wave with 50Hz and added noise to it.
After that, I want 2 design a simple FIR filter with order=2 and I apply this filter to my signal with ""filter"" function in MATLAB(Build in function).
i want to matlab code..plz guide me
so as you know the filter command you have to just design a filter to get the coefficients from that go to matlab and check ''fdatool'' OR ENTER fdatool in ur matlab terminal u will get a gui . from that design ur filter and from export the coefficients to matlab terminal thats it