how to pass row by row elements of a multidimensional array to a function
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
how to pass row by row elements of a multidimensional array to a function
1 commentaire
Réponses (1)
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
Voir également
Catégories
En savoir plus sur C Shared Library Integration dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!