help-octave
[Top][All Lists]

## Re: Octave and Signal Processig functions

 From: Sergei Steshenko Subject: Re: Octave and Signal Processig functions Date: Fri, 23 Nov 2012 05:54:44 -0800 (PST)

```

----- Original Message -----
> Cc:
> Sent: Friday, November 23, 2012 3:02 PM
> Subject: Re: Octave and Signal Processig functions
>
> Well, I installed signal and I basically need the "butter" function.
> But
> still not there.
> I tried some other functions from the package and they work. Any idea what
> is going wrong?
>
>
>
> --
> View this message in context:
> http://octave.1599824.n4.nabble.com/Octave-and-Signal-Processig-functions-tp4646982p4646985.html
> Sent from the Octave - General mailing list archive at Nabble.com.
> _______________________________________________
> Help-octave mailing list
> https://mailman.cae.wisc.edu/listinfo/help-octave
>

Are you sure the package is really installed ?

This is what I have:

"
octave:1> help butter
`butter' is a function from the file
/mnt/sdb8/sergei/AFSWD_debug/20120424/octave-3.6.2/share/octave/packages/signal-1.2.0/butter.m

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.

Additional help for built-in functions and operators is
available in the on-line version of the manual.  Use the command
`doc <topic>' to search the manual index.

Help and information about Octave is also available on the WWW
at http://www.octave.org and via the address@hidden
mailing list.
"

- pay attention to

`butter' is a function from the file
/mnt/sdb8/sergei/AFSWD_debug/20120424/octave-3.6.2/share/octave/packages/signal-1.2.0/butter.m

Regards,
Sergei.

octave:2>

```