<< cceps Signal Processing Supplementary toolbox cheb2ord >>

Signal Processing Supplementary toolbox >> Signal Processing Supplementary toolbox > cheb1ord

cheb1ord

Finding order of Chebyshev filter of type-1

Calling Sequence

[n,Wn] = cheb1ord(Wp,Ws,Rp,Rs)
[n,Wn] = cheb1ord(Wp,Ws,Rp,Rs,'s')

Arguments

Wp

Normalized passband edge frequency.

Ws

Normalized stopband edge frequency.

Rp

Allowable passband ripple in dB.

Rs

Allowable stopband attenuation in dB.

Description

Computes the complex cepstrum (Xh) of a real sequence X. The desired length of the cepstrum can also be specified in the second argument N. The values of cepstrum are different for different lengths of the cepstrum specified. However, the values of Yh are independent on the values of the specified cepstrum length. The number of samples delay Nd introduced to the real sequence is required for inversion of complex cepstrum in correct sequence.

Examples

// Finding lowpass filter order with specifications
// passband edge = 0.35, stopband edge =0.675, 
// passband ripple =6 dB, stopband attenuation = 5 dB
wp=0.35; 
ws=0.675;
rp=10;
rs=30;
[n,wn]=cheb1ord(wp,ws, rp, rs)

Authors


Report an issue
<< cceps Signal Processing Supplementary toolbox cheb2ord >>