MATLAB: Designing a lowpass filter in matlab

digital signal processingfilterMATLAB

Hello,
I want to implement the analog LP filter having a cutoff frequency of 2.4Hz and gain of 101 as shown http://img42.imageshack.us/img42/4320/qe74.jpg in the matlab. How to implement this LPfilter having a cutoff frequency and gain in matlab. Can help me out with this.

Best Answer

there is a filter design functions , you can start with the simplest function as follows :
% given you sampling frequency, lets say 20
fs=20;
fc=2/10;
b=fir(N,fc);
freqz(b);