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

2 Ansichten (letzte 30 Tage)
ABDUL
ABDUL am 22 Mär. 2018
Kommentiert: ABDUL am 17 Apr. 2018
how to pass row by row elements of a multidimensional array to a function

Antworten (1)

Ngoc Thanh Hung Bui
Ngoc Thanh Hung Bui am 15 Apr. 2018
Bearbeitet: Ngoc Thanh Hung Bui am 15 Apr. 2018
for i = 1:length(A) % A is your matrix
function(A(i,:));
end

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by