how to pass row by row elements of a multidimensional array to a function
古いコメントを表示
how to pass row by row elements of a multidimensional array to a function
1 件のコメント
Use a loop, just like the introductory tutorials show:
回答 (1 件)
Ngoc Thanh Hung Bui
2018 年 4 月 15 日
編集済み: Ngoc Thanh Hung Bui
2018 年 4 月 15 日
0 投票
for i = 1:length(A) % A is your matrix
function(A(i,:));
end
カテゴリ
ヘルプ センター および File Exchange で Multirate Signal Processing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!