Array indices must be positive integers or logical values.
显示 更早的评论
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))
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Logical 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!