Code with function file not working
3 views (last 30 days)
Show older comments
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 Comments
Accepted Answer
More Answers (1)
David Hill
on 14 Apr 2021
No reason for global variables. Problem is equation
P=X*(1+r/100)^t;%need X*
See Also
Categories
Find more on File Operations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!