Info

此问题已关闭。 请重新打开它进行编辑或回答。

Computing same monthly payment

1 次查看(过去 30 天)
Jane Smith
Jane Smith 2020-6-21
关闭: Jane Smith 2020-6-21
Month = (1:n)';
Monthly_Amount(60,1)=(P*i/(1-(1+i)^-n))
This is part of a code to create a monthly payment. My question is that i need to computed the monthly in amount which is the same for 60 monts. Now i need to create a vector for this amount to be shown in table
when i tried it this way the output was zeros from 1-59th month and the correct amount in the 60th month.
Since it doesn't change monthly i opted to noit enter it in my for loop.
Not sure if i explained myself well.

回答(0 个)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by