Recursion function in matlab
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
Rik
2020-10-19
编辑:Rik
2020-10-19
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?
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!