gigiolone123
2018-10-24 10:08:15 UTC
i want to find originally index position for a>0
example:
a=
0 1 3
4 0 1
1 2 0
a>0
i want this:
0 1 1
1 0 2
2 3 0
if element=0 i write 0..
if element is >0 i write position of originally array
--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html
example:
a=
0 1 3
4 0 1
1 2 0
a>0
i want this:
0 1 1
1 0 2
2 3 0
if element=0 i write 0..
if element is >0 i write position of originally array
--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html