% -*- texinfo -*- % @deftypefn {Function File} {@var{vec}} = ind2vec (@var{ind}) % @code{vec2ind} convert indices to vector % % % @example % 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 % @end example % % @end deftypefn