Home > freetb4matlab > signal > cheby1.m

# cheby1

## PURPOSE

% Generate an Chebyshev type I filter with Rp dB of pass band ripple.

## SYNOPSIS

function [a,b,c,d] = cheby1(n, Rp, W, varargin)

## DESCRIPTION

% Generate an Chebyshev type I filter with Rp dB of pass band ripple.
%
% [b, a] = cheby1(n, Rp, Wc)
%    low pass filter with cutoff pi*Wc radians
%
% [b, a] = cheby1(n, Rp, Wc, 'high')
%    high pass filter with cutoff pi*Wc radians
%
% [b, a] = cheby1(n, Rp, [Wl, Wh])
%    band pass filter with edges pi*Wl and pi*Wh radians
%
% [b, a] = cheby1(n, Rp, [Wl, Wh], 'stop')
%    band reject filter with edges pi*Wl and pi*Wh radians
%
% [z, p, g] = cheby1(...)
%    return filter as zero-pole-gain rather than coefficients of the
%    numerator and denominator polynomials.
%
% [...] = cheby1(...,'s')
%     return a Laplace space filter, W can be larger than 1.
%
% [a,b,c,d] = cheby1(...)
%  return  state-space matrices
%
% References:
%
% Parks & Burrus (1987). Digital Filter Design. New York:
% John Wiley & Sons, Inc.

## CROSS-REFERENCE INFORMATION

This function calls:
• bilinear % error: [Zz, Zp, Zg] = bilinear(Sz, Sp, Sg, T)
• sftrans % error: [Sz, Sp, Sg] = sftrans(Sz, Sp, Sg, W, stop)
This function is called by:
• decimate % error: y = decimate(x, q [, n] [, ftype])

Generated on Sat 16-May-2009 00:04:49 by m2html © 2003