Documentation |
Amortization schedule
[Principal, Interest, Balance, Payment] = amortize(Rate,
NumPeriods, PresentValue, FutureValue, Due)
Rate | Interest rate per period, as a decimal fraction. |
NumPeriods | Number of payment periods. |
PresentValue | Present value of the loan. |
FutureValue | (Optional) Future value of the loan. Default = 0. |
Due | (Optional) When payments are due: 0 = end of period (default), or 1 = beginning of period. |
[Principal, Interest, Balance, Payment] = amortize(Rate, NumPeriods, PresentValue, FutureValue, Due) returns the principal and interest payments of a loan, the remaining balance of the original loan amount, and the periodic payment.
Principal | Principal paid in each period. A 1-by-NumPeriods vector. |
Interest | Interest paid in each period. A 1-by-NumPeriods vector. |
Balance | Remaining balance of the loan in each payment period. A 1-by-NumPeriods vector. |
Payment | Payment per period. A scalar. |