How to write an if-else statement for a function
이전 댓글 표시
The function is:
f(n) = sqrt(1 + f(n-1)) if n>1 and f=2 if n=1
but I don't know how to start even.
댓글 수: 1
Sofie Önnemar
2022년 8월 30일
편집: Walter Roberson
2022년 8월 30일
답변 (2개)
카테고리
도움말 센터 및 File Exchange에서 Data Type Conversion에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!