Code with function file not working
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
JaffaCakes
el 14 de Abr. de 2021
Comentada: JaffaCakes
el 14 de Abr. de 2021
I'm writing a code to calculate investmenet after a certain amount of time, using the equation attached. (I've assumed Po is X in the code)
When I run the code, I get the error shown
0 comentarios
Respuesta aceptada
Más respuestas (1)
David Hill
el 14 de Abr. de 2021
No reason for global variables. Problem is equation
P=X*(1+r/100)^t;%need X*
Ver también
Categorías
Más información sobre File Operations en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!