<< buffer FOSSEE Signal Processing Toolbox buttord >>

FOSSEE Signal Processing Toolbox >> FOSSEE Signal Processing Toolbox > butter

butter

This function generates a Butterworth filter.

Calling Sequence

[a, b] = butter (n, w)
[a, b] = butter (n, w, "high")
[a, b] = butter (n, [wl, wh])
[b, a] = butter (n, [wl, wh], "stop")
[a, b, c] = butter (…)
[a, b, c, d] = butter (…)
[…] = butter (…, "s")

Parameters

n:

positive integer value

w:

positive real value, w in the range [0,1]

Description

This is an Octave function. This function generates a Butterworth filter. Default is a discrete space (Z) filter. The third parameter takes in low or high, default value is low. The cutoff is pi*Wc radians. [b,a] = butter(n, [Wl, Wh]) indicates a band pass filter with edges pi*Wl and pi*Wh radians. [b,a] = butter(n, [Wl, Wh], ’stop’) indicates a band reject filter with edges pi*Wl and pi*Wh radians. [z,p,g] = butter(...) returns filter as zero-pole-gain rather than coefficients of the numerator and denominator polynomials. [...] = butter(...,’s’) returns a Laplace space filter, w can be larger than 1. [a,b,c,d] = butter(...) returns state-space matrices.

Examples

[a,b]=butter(3, 0.7)
a =
0.37445   1.12336   1.12336   0.37445
b =
1.00000   1.16192   0.69594   0.13776

Report an issue
<< buffer FOSSEE Signal Processing Toolbox buttord >>