|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #49506] interp2(..., 'linear') gives incorrect result |
Date: | Wed, 2 Nov 2016 15:28:36 +0000 (UTC) |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 |
Follow-up Comment #4, bug #49506 (project octave): Is this something we are following for Matlab compatibility? For scalars or matrices, the resulting value after indexing has the size of the idx vector. It is only when a vector is indexed by another vector that the result follows the original vector's size. Matlab test x = [1 2 3]; x([3 2 1]') x'([3 2 1]) _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?49506> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |