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 件)

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 件のコメント

ABDUL
ABDUL 2018 年 4 月 17 日
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