MATLAB: D = fdesign.lo​wpass(‘Fp,​Fst,Ap,Ast​’,1,3,0.5,​40,60);

dsp

d = fdesign.lowpass('Fp,Fst,Ap,Ast',1,3,0.5,40,60);
sir, please tell me what is 1,3,0.5,40,60 im assuming that here 60 is sampling frequency please describe other parameters

Best Answer

d = fdesign.lowpass('Fp,Fst,Ap,Ast',1,3,0.5,40,60);
  1. 1 is the passband frequency
  2. 3 is the stopband frequency so the region between 1 and 3 Hz is a transition region
  3. 0.5 is the passband ripple in dB
  4. 40 is the amount of stopband attentuation you want in dB
  5. 60 is the sampling frequency