Man Scilab

analpf
Scilab Function

analpf - create analog low-pass filter

Calling Sequence

[hs,pols,zers,gain]=analpf(n,fdesign,rp,omega)

Parameters

Description

Creates analog low-pass filter with cut-off frequency at omega.

hs=gain*poly(zers,'s')/poly(pols,'s')

Examples


//Evaluate magnitude response of continuous-time system 
hs=analpf(4,'cheb1',[.1 0],5)
fr=0:.1:15;
hf=freq(hs(2),hs(3),%i*fr);
hm=abs(hf);
plot(fr,hm)
 
  

Author

C. B.

Back