Find indices of non-zero elements from [1,2,0,0,4,0]
Answers
Answered by
0
Answer:
A = [1,2,0,0,4,0]
find(A)
3-element Array{Int64,1}:
1
2
5
Similar questions