我有一个3x3数组,称为q,例如:
q=[1,2,3;4,5,6;7,8,9] u=one of the element in array q [row,col]=find(q==u) % to find the row and column number of element u
如何访问行号大于元素u的行号的元素?如果有人可以分享想法,我真的很感激帮助 .