help-octave
[Top][All Lists]
Advanced

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

error with sort function in octave


From: 585venkat
Subject: error with sort function in octave
Date: Sat, 8 Feb 2014 08:50:46 -0800 (PST)

Hi all,

  'sort' function in octave is giving me error in the following case.

[a,b]=sort([1,3,6,4,5])
a =

   1   3   4   5   6

b =

   1   2   4   5   3


In the above example 'b' should give ranking of the original values
passed(i.e 1,2 5,3 4), but it is not giving.  Any explanation for this ??

Thanks and Regards,
venki



--
View this message in context: 
http://octave.1599824.n4.nabble.com/error-with-sort-function-in-octave-tp4661756.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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