syntfil[ChebyshevNLPOrder] - compute the order of the Chebyshev approximation of normalized lowpass (NLP) filter
Calling sequence:
ChebyshevNLPOrder(Os, ap, as)
Parameters:
Os - stopband frequency of NLP [1/s]
ap - passband ripple [dB]
as - stopband attenuation [dB]
All parameters must be positive real values, where Os > 1 and ap < as .
Description:
order - order of Chebyshev approxiamation [-]
ap - passband ripple [dB]
as - stopband attenuation [dB]
Info level:
Setting of variable infolevel[syntfil] can be used to get more detailed results.
infolevel[syntfil] =
2 - print output of function (order, Os, ap)
3 - as level 2 + print secondary parameters of NLP (epsilon, k, k1)
Example:
> | with(syntfil): |
NLP specification
> | Os,ap,as:=2,3,30; |
> | cx:=ChebyshevNLPOrder(Os,ap,as); |
Compute the new value of the stopband attenuation
> | Chebyshev_asnew(cx); |
Compute the power transfer ratio and the characteristic function for the Chebyshev approximation
> | Chebyshev(cx,s); |
Compute secondary parameter epsilon and poles of transfer function for Chebyshev approximation
> | ChebyshevPoles(cx); |
Compute the power transfer ratio, characteristic function, and zeros of the transfer function for the inverse Chebyshev approximation
> | InvChebyshev(cx,s); |
Compute the secondary parameter epsilon, poles and the zeros of the transfer function for the inverse Chebyshev approximation
> | InvChebyshevPolesZeros(cx); |
See also:
LP2NLP, HP2NLP, BP2NLP, BP22NLP, BS2NLP
ButterworthNLPOrder, CauerNLPOrder
Chebyshev_asnew, Chebyshev, ChebyshevPoles, InvChebyshev, InvChebyshevPolesZeros, InvChebyshevB, InvChebyshevBPolesZeros