how to pass row by row elements of a multidimensional array to a function

답변 (1개)

Ngoc Thanh Hung Bui
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

댓글 수: 1

i want to send values row by row and page by page. how can i send the data.

댓글을 달려면 로그인하십시오.

카테고리

질문:

2018년 3월 22일

댓글:

2018년 4월 17일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by