Array indices must be positive integers or logical values.
Show older comments
price=25000
dp=1000
r=1.06
rm=r/12
loan=24000
n=[2:1:10];
payment=loan*((rm(1+rm)^n)/(((1+rm)^n)-1))
Accepted Answer
More Answers (0)
Categories
Find more on Logical in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!