octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #34893] Unexpected and inconsistent conv/conv2


From: Michael Godfrey
Subject: [Octave-bug-tracker] [bug #34893] Unexpected and inconsistent conv/conv2 results
Date: Thu, 24 Nov 2011 23:56:59 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20100101 Firefox/8.0

Follow-up Comment #3, bug #34893 (project octave):

Actually, conv2.cc is in the DLD-FUNCTIONS and
it does provide 'valid'.  conv.m is in scripts/polynomical
and does not handle 'valid'.

The current distribution gives:
octave:1> conv([1:5].',[1:2].','valid') 
error: conv: SHAPE argument must be "full" or "same"
error: called from:
error:   /d/src/octave/hg/octave/scripts/polynomial/conv.m at line 55, column
5

but it also gives:
octave:1> conv2([1:5;1:5],[1:2],'valid') 
ans =

    5    8   11   14
    5    8   11   14

octave:2> 

But, it would be good to start from the above results, 
not 3.4.2 or 3 which
were used in reporting this problem.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?34893>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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