How to write an if-else statement for a function
Mostrar comentarios más antiguos
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 comentario
Sofie Önnemar
el 30 de Ag. de 2022
Editada: Walter Roberson
el 30 de Ag. de 2022
Respuestas (2)
Categorías
Más información sobre Data Type Conversion en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!