sub2ind 함수
인터넷에서 sub2ind함수를 찾아봤다 sub2ind Single index from subscripts 서브크르립트의 싱글인덱스 Syntax IND = sub2ind(siz,I,J) IND = sub2ind(siz,I1,I2,...,In) Description The sub2ind command determines the equivalent single index corresponding to a set of subscript values. IND = sub2ind(siz,I,J) returns the linear index equivalent to the row and column subscripts I and J for a matrix of size siz. IND = sub2ind(siz,I1,I..
2014. 12. 19.