comparison scripts/signal/fftconv.m @ 3367:0748b03c3510

[project @ 1999-11-20 14:52:38 by jwe]
author jwe
date Sat, 20 Nov 1999 14:52:42 +0000
parents 8b262e771614
children f8dde1807dee
comparison
equal deleted inserted replaced
3366:abdd5ed1bb4e 3367:0748b03c3510
15 ## You should have received a copy of the GNU General Public License 15 ## You should have received a copy of the GNU General Public License
16 ## along with Octave; see the file COPYING. If not, write to the Free 16 ## along with Octave; see the file COPYING. If not, write to the Free
17 ## Software Foundation, 59 Temple Place - Suite 330, Boston, MA 17 ## Software Foundation, 59 Temple Place - Suite 330, Boston, MA
18 ## 02111-1307, USA. 18 ## 02111-1307, USA.
19 19
20 ## usage: fftconv (a, b [, N]) 20 ## -*- texinfo -*-
21 ## 21 ## @deftypefn {Function File} {} fftconv (@var{a}, @var{b}, @var{n})
22 ## c = fftconv (a, b) returns the convolution of the vectors a and b, 22 ## Return the convolution of the vectors @var{a} and @var{b}, as a vector
23 ## a vector with length equal to length (a) + length (b) - 1. 23 ## with length equal to the @code{length (a) + length (b) - 1}. If @var{a}
24 ## If a and b are the coefficient vectors of two polynomials, c is 24 ## and @var{b} are the coefficient vectors of two polynomials, the returned
25 ## the coefficient vector of the product polynomial. 25 ## value is the coefficient vector of the product polynomial.
26 ## 26 ##
27 ## The computation uses the FFT by calling fftfilt. If the optional 27 ## The computation uses the FFT by calling the function @code{fftfilt}. If
28 ## argument N is specified, an N-point FFT is used. 28 ## the optional argument @var{n} is specified, an N-point FFT is used.
29 ## @end deftypefn
29 30
30 ## Author: KH <Kurt.Hornik@ci.tuwien.ac.at> 31 ## Author: KH <Kurt.Hornik@ci.tuwien.ac.at>
31 ## Created: 3 September 1994 32 ## Created: 3 September 1994
32 ## Adapted-By: jwe 33 ## Adapted-By: jwe
33 34