Cheb2mag(1)

NAME
Cheb2mag - response of type 2 Chebyshev filter

CALLING SEQUENCE
[h2]=cheb2mag(n,omegar,A,sample)

PARAMETERS

n   : integer ; filter order

omegar
    : real scalar : cut-off frequency

A   : attenuation in stop band

sample
    : vector of frequencies where cheb2mag is evaluated

h2  : vector of Chebyshev II filter values at sample points

DESCRIPTION
Square magnitude response of a type 2 Chebyshev filter.

omegar = stopband edge, sample = vector of frequencies where the square magnitude h2 is desired.

AUTHOR
F. D.