Recursion function in matlab
조회 수: 6 (최근 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에서 Logical에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!