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

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

[Octave-bug-tracker] [bug #51728] del2 fails on 1-D input with a vector


From: Rik
Subject: [Octave-bug-tracker] [bug #51728] del2 fails on 1-D input with a vector as spacing
Date: Fri, 11 Aug 2017 13:08:23 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0

Follow-up Comment #2, bug #51728 (project octave):

Probably easiest to start a session and execute 'diary on'.  At the end of the
session upload the diary file to the bug report?

Sample Code #1:


del2 (1:5, ones (5,5), 1)


Does this produce an error because the spacing is neither a scalar nor a
vector?

Sample Code #2:


del2 (exp ([1:5]), 2, 5)


Documentation says the first spacing applies to the first dimension.  However,
the first dimension is rows, not columns, which is different than specifying
the x-separation which people think of as the first argument.

Sample Code #3:


xx = meshgrid (1:5)
del2 (exp (xx), 2, 5)


Just making sure they don't something special for the 1-D vectors in Code #2.



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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