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!