Home > freetb4matlab > signal > butter.m

# butter

## PURPOSE

% Generate a butterworth filter.

## SYNOPSIS

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

## DESCRIPTION

```% Generate a butterworth filter.
% Default is a discrete space (Z) filter.
%
% [b,a] = butter(n, Wc)
%    low pass filter with cutoff pi*Wc radians
%
% [b,a] = butter(n, Wc, 'high')
%    high pass filter with cutoff pi*Wc radians
%
% [b,a] = butter(n, [Wl, Wh])
%    band pass filter with edges pi*Wl and pi*Wh radians
%
% [b,a] = butter(n, [Wl, Wh], 'stop')
%    band reject filter with edges pi*Wl and pi*Wh radians
%
% [z,p,g] = butter(...)
%    return filter as zero-pole-gain rather than coefficients of the
%    numerator and denominator polynomials.
%
% [...] = butter(...,'s')
%     return a Laplace space filter, W can be larger than 1.
%
% [a,b,c,d] = butter(...)
%  return  state-space matrices
%
% References:
%
% Proakis & Manolakis (1992). Digital Signal Processing. New York:
% Macmillan Publishing Company.```

## 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:

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