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

Réponses (1)

Ngoc Thanh Hung Bui
Ngoc Thanh Hung Bui le 15 Avr 2018
Modifié(e) : Ngoc Thanh Hung Bui le 15 Avr 2018
for i = 1:length(A) % A is your matrix
function(A(i,:));
end

1 commentaire

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

Connectez-vous pour commenter.

Catégories

Question posée :

le 22 Mar 2018

Commenté :

le 17 Avr 2018

Community Treasure Hunt

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

Start Hunting!

Translated by