Recursion function in matlab
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hey
How do I write a function that get a matrix as an argument and returns the sum of all the members in it recursively?
Thanks you
2 commentaires
Rik
le 19 Oct 2020
Modifié(e) : Rik
le 19 Oct 2020
You can find guidelines for posting homework on this forum here. If you have trouble with Matlab basics you may consider doing the Onramp tutorial (which is provided for free by Mathworks).
Is your question how to write a recursive function at all? Or do you want someone else to do your complete homework assignment for you?
Voir également
Catégories
En savoir plus sur Startup and Shutdown dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!