Operators and Keywords
Function List:
C++ API
Function File: vec = ind2vec (ind)
vec2ind convert indices to vector EXAMPLE 1 vec = [1 2 3; 4 5 6; 7 8 9]; ind = vec2ind(vec) The prompt output will be: ans = 1 2 3 1 2 3 1 2 3
vec2ind convert indices to vector
vec2ind
EXAMPLE 1 vec = [1 2 3; 4 5 6; 7 8 9]; ind = vec2ind(vec) The prompt output will be: ans = 1 2 3 1 2 3 1 2 3