Mercurial > hg > octave-nkf
diff scripts/signal/fftconv.m @ 2311:2b5788792cad
[project @ 1996-07-11 20:18:38 by jwe]
author | jwe |
---|---|
date | Thu, 11 Jul 1996 20:18:38 +0000 |
parents | 5cffc4b8de57 |
children | 204cc7db6f4a |
line wrap: on
line diff
--- a/scripts/signal/fftconv.m +++ b/scripts/signal/fftconv.m @@ -17,17 +17,17 @@ ### Software Foundation, 59 Temple Place - Suite 330, Boston, MA ### 02111-1307, USA. -function c = fftconv (a, b, N) +## usage: fftconv (a, b [, N]) +## +## c = fftconv (a, b) returns the convolution of the vectors a and b, +## a vector with length equal to length (a) + length (b) - 1. +## If a and b are the coefficient vectors of two polynomials, c is +## the coefficient vector of the product polynomial. +## +## The computation uses the FFT by calling fftfilt. If the optional +## argument N is specified, an N-point FFT is used. - ## usage: fftconv (a, b [, N]) - ## - ## c = fftconv (a, b) returns the convolution of the vectors a and b, - ## a vector with length equal to length (a) + length (b) - 1. - ## If a and b are the coefficient vectors of two polynomials, c is - ## the coefficient vector of the product polynomial. - ## - ## The computation uses the FFT by calling fftfilt. If the optional - ## argument N is specified, an N-point FFT is used. +function c = fftconv (a, b, N) ## Written by KH (Kurt.Hornik@ci.tuwien.ac.at) on Sep 3, 1994.