Matlab has two functions for converting matrix subscripts to linear indices and vice versa. (ind2sub and sub2ind) I found the equivalent for R but is .
確定! 回上一頁