how to pass row by row elements of a multidimensional array to a function
Afficher commentaires plus anciens
how to pass row by row elements of a multidimensional array to a function
1 commentaire
Use a loop, just like the introductory tutorials show:
Réponses (1)
Ngoc Thanh Hung Bui
le 15 Avr 2018
Modifié(e) : Ngoc Thanh Hung Bui
le 15 Avr 2018
0 votes
for i = 1:length(A) % A is your matrix
function(A(i,:));
end
1 commentaire
ABDUL
le 17 Avr 2018
Catégories
En savoir plus sur C Shared Library Integration dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!