help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

conv([1,2],[3,4]) fails


From: Jeff Mason
Subject: conv([1,2],[3,4]) fails
Date: Sat, 3 May 1997 16:02:48 -0600

When I type the following at the interpreter prompt I get the
following error:

  octave:28> conv([1,2],[3,4])
  error: conv: both arguments must be vectors

Lookinging into the CONV script (octave/2.0.4/m/polynomial/conv.m)
I see the following test that is causing my trouble:

  function y = conv (a, b)

    if (is_matrix (a) || is_matrix (b))
      error("conv: both arguments must be vectors");
    endif
   
Ive checked the octave docs for discussion on Matrix and Vector
types but havent found anything that tells me why I cant convolve
the two "things" I tried to convolve. What am I missing here?

Thanks -- Jeff

Jeff Mason               |     Radar Analysis Dept.
Mail Stop 0537           |     Dept. Number 2344
Sandia National Labs     |     address@hidden
PO Box 5800              |     phone (505) 845-8565
Albuquerque, NM 87106    |     FAX (505) 845-9888


reply via email to

[Prev in Thread] Current Thread [Next in Thread]