A modification of the built-in sub2ind.
3 years ago
I have five 3-D arrays and I would like to find any elements that are common to 2 or more of the arrays and that are non-zero. ...
Asked 4 years ago
I know that you can select elements out of a matrix that meet a condition and assign a new value, i.e.
a = [1 2 3 4 5 6 7...
Join the conversation