applying arrayfun on n-dimensional matrixes
1 回表示 (過去 30 日間)
古いコメントを表示
hi guys,
i need your help in solving the following problem:
how can i generalize the following for any n dimensional array:
reshape(arrayfun(@(x,y)sprintf('%d,%d',x,y),C{:},'un',0),size(M));
M is my matrix and C is my matrix of indexes.
thanks in advance.
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Creating and Concatenating Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!