location of the i'th element
3 views (last 30 days)
victor hanna on 10 Dec 2019
A is a matrix
Iam using a for loop on all the elements in A like this
n = numel(A);
for i = 1 : n
but i need the element location in the original matrix
so my quastion is there away to find the i'th elements location in A ?
or if there is another way to run loop on all the elements?