octave-maintainers
[Top][All Lists]
Advanced

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

searching array position in matrix


From: LucaLuca
Subject: searching array position in matrix
Date: Sat, 20 Oct 2018 11:57:42 -0500 (CDT)

i've following matrix:

df=[3 4 5;9 3 4; 9 3 5]

i've index array nn=[2 3 1]

how can i get element df matrix in nn position ?

ans= 
4 ==>position 1 of nn ==>nn(1)
4==> position 2 of nn ==>nn(2)
9==> position 3 of nn==>nn(3)



--
Sent from: http://octave.1599824.n4.nabble.com/Octave-Maintainers-f1638794.html



reply via email to

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