cheb1mag - response of Chebyshev type 1 filter
Square magnitude response of a type 1 Chebyshev filter.
omegac =passband edge.
epsilon : such that 1/(1+epsilon^2) =passband ripple.
sample : vector of frequencies where the square magnitude is desired.
//Chebyshev; ripple in the passband n=13;epsilon=0.2;omegac=3;sample=0:0.05:10; h=cheb1mag(n,omegac,epsilon,sample); plot2d(sample,h) xtitle('','frequencies','magnitude')
buttmag ,