[Master Index]
[Index for /tools/hpmatlab/toolbox/signal]
ellip
(/tools/hpmatlab/toolbox/signal/ellip.m)
Function Synopsis
[num, den, z, p] = ellip(n, Rp, Rs, Wn, ftype, anaflag)
Help text
ELLIP Elliptic or Cauer digital and analog filter design.
[B,A] = ELLIP(N,Rp,Rs,Wn) designs an N'th order lowpass digital
elliptic filter with Rp decibels of ripple in the passband and
a stopband Rs decibels down. ELLIP returns the filter
coefficients in length N+1 vectors B and A. The cut-off
frequency Wn must be 0.0 < Wn < 1.0, with 1.0 corresponding to
half the sample rate. Use Rp = 0.5 and Rs = 20 as starting
points, if you are unsure about choosing them.
If Wn is a two-element vector, Wn = [W1 W2], ELLIP returns an
order 2N bandpass filter with passband W1 < W < W2.
[B,A] = ELLIP(N,Rp,Rs,Wn,'high') designs a highpass filter.
[B,A] = ELLIP(N,Rp,Rs,Wn,'stop') is a bandstop filter if Wn = [W1 W2].
When used with three left-hand arguments, as in
[Z,P,K] = ELLIP(...), the zeros and poles are returned in
length N column vectors Z and P, and the gain in scalar K.
When used with four left-hand arguments, as in
[A,B,C,D] = ELLIP(...), state-space matrices are returned.
ELLIP(N,Rp,Rs,Wn,'s'), ELLIP(N,Rp,Rs,Wn,'high','s') and
ELLIP(N,Rp,Rs,Wn,'stop','s') design analog elliptic filters.
In this case, Wn can be bigger than 1.0.
See also ELLIPORD, CHEBY2, BUTTER, BESSELF, FREQZ and FILTER.
Cross-Reference Information
This function calls
- bilinear /tools/hpmatlab/toolbox/signal/bilinear.m
- ellipap /tools/hpmatlab/toolbox/signal/ellipap.m
- else /tools/hpmatlab/toolbox/matlab/lang/else.m
- elseif /tools/hpmatlab/toolbox/matlab/lang/elseif.m
- end /tools/hpmatlab/toolbox/matlab/lang/end.m
- error /tools/hpmatlab/toolbox/matlab/lang/error.m
- if /tools/hpmatlab/toolbox/matlab/lang/if.m
- input /tools/hpmatlab/toolbox/matlab/lang/input.m
- lp2bp /tools/hpmatlab/toolbox/signal/lp2bp.m
- lp2bs /tools/hpmatlab/toolbox/signal/lp2bs.m
- lp2hp /tools/hpmatlab/toolbox/signal/lp2hp.m
- lp2lp /tools/hpmatlab/toolbox/signal/lp2lp.m
- max /tools/hpmatlab/toolbox/matlab/datafun/max.m
- nargin /tools/hpmatlab/toolbox/matlab/elmat/nargin.m
- nargout /tools/hpmatlab/toolbox/matlab/elmat/nargout.m
- pi /tools/hpmatlab/toolbox/matlab/elmat/pi.m
- size /tools/hpmatlab/toolbox/matlab/general/size.m
- sqrt /tools/hpmatlab/toolbox/matlab/elfun/sqrt.m
- ss2zp /tools/hpmatlab/toolbox/signal/ss2zp.m
- tan /tools/hpmatlab/toolbox/matlab/elfun/tan.m
- zp2ss /tools/hpmatlab/toolbox/signal/zp2ss.m
This function is called by
- cztdemo /tools/hpmatlab/toolbox/signal/cztdemo.m
- filtdemo /tools/hpmatlab/toolbox/signal/filtdemo.m
- sosdemo /tools/hpmatlab/toolbox/signal/sosdemo.m
Produced by mat2html on Wed Feb 8 12:25:18 EST 1995
Cross-Directory links are: ON