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

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

[Octave-bug-tracker] [bug #45739] sort 'descend' together with vectors c


From: Dieter Schmidt
Subject: [Octave-bug-tracker] [bug #45739] sort 'descend' together with vectors created with the colon operator
Date: Wed, 12 Aug 2015 14:10:20 +0000
User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:39.0) Gecko/20100101 Firefox/39.0

Follow-up Comment #4, bug #45739 (project octave):

@Michael Godfrey:  you are right with the difference between ranges/matrices
and you are also right to write the range in []:  

>> sort([1:3:15],'descend')
ans =

   13   10    7    4    1

But the different handling of matrices/ranges by the sort-command is firstly
not documented and secondly not very self-explanatory. Therefore something
should be changed: doc or code.

I would prefer the solution with fixes in the sort-command, so there is no
more difference between matrices and ranges (additionaly with the advantage of
matlab-compatibility). 

But I'm only a little old nobody ... erm ... user.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

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