tombraided
Newbie level 2
Hi there...
I have a matrix as:
a = [1 3 2 6 8 9 6]
can anyone tell how I would be able to get the index of the element(s) for 6. Here the answer should be [4,7]. It should be in matlab.
Thanks in advance.
-JML
I have a matrix as:
a = [1 3 2 6 8 9 6]
can anyone tell how I would be able to get the index of the element(s) for 6. Here the answer should be [4,7]. It should be in matlab.
Thanks in advance.
-JML