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

조회 수: 2 (최근 30일)
ABDUL
ABDUL 2018년 3월 22일
댓글: ABDUL 2018년 4월 17일
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일
for i = 1:length(A) % A is your matrix
function(A(i,:));
end
  댓글 수: 1
ABDUL
ABDUL 2018년 4월 17일
i want to send values row by row and page by page. how can i send the data.

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

카테고리

Help CenterFile Exchange에서 C Shared Library Integration에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by