how to pass row by row elements of a multidimensional array to a function
1 次查看(过去 30 天)
显示 更早的评论
回答(1 个)
Ngoc Thanh Hung Bui
2018-4-15
编辑:Ngoc Thanh Hung Bui
2018-4-15
for i = 1:length(A) % A is your matrix
function(A(i,:));
end
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!