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

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

[Octave-bug-tracker] [bug #49759] Inconsistent concatenation with cat, h


From: Amro
Subject: [Octave-bug-tracker] [bug #49759] Inconsistent concatenation with cat, horzcat, vertcat, and []
Date: Tue, 6 Dec 2016 14:03:05 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:45.9) Gecko/20100101 Goanna/3.0 Firefox/45.9 PaleMoon/27.0.2

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

Thank you for finding those previous reports.

It's actually interesting because none of the examples in those threads apply
anymore in the latest Octave 4.2.0, as the behavior of concatenating using
square-brackets is now consistent with that of MATLAB.

I don't know if this was fixed on purpose or simply a happy accident! Either
way the issue that remains here is that cat/horzcat/vertcat in Octave are
giving different results than the equivalent []-concatenation.

Regardless of whether this concat behavior is considered an undocumented
MATLAB feature/bug or not, Octave should at least be consistent with itself no
matter how concatenation is performed. So I think that the functions
cat/horzcat/vertcat should be fixed to be conformant with [].


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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