Recursion function in matlab
1 回表示 (過去 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?
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!