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에서 Get Started with Phased Array System Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!