|
From: | Doug Stewart |
Subject: | Re: find position originally in new array |
Date: | Wed, 24 Oct 2018 08:48:06 -0400 |
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
This looks like a homework assignment.
--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html
[Prev in Thread] | Current Thread | [Next in Thread] |