image thumbnail

updated 6 years ago

Automatically arranged multiple subscripts from linear index by Paul A.M. Bune

Functionally, the same as internal MatLab routine "ind2sub", but the result is put into an automatic (multiple subscripts, index, ind2sub)

ind2sub1(siz, ind)

Contact us