Amortization schedule with variable interest rates

版本 1.6.0.0 (134.3 KB) 作者: Guido Travaglini
Computes & optionally saves & plots some variables, like interest paid and balance outstanding.
411.0 次下载
更新时间 2011/7/8

查看许可证

Tools for computing amortization schedules with variable interest rates are quite uncommon as opposed to those for computing their fixed interest-rate counterpart.
This code (hopefully) helps filling the gap. It includes a PDF file describing theoretical and applied amortization schedules and a MATLAB .m file functionally written as: [Amorout,T,Ratio] = amorvar(K0,Rates,Prop,Plop,Freq,Comp).
%
The INPUTS are:
1. K0: Initial principal borrowed
2. Rates: Tx1 time series of interest rates applied in the loan contract expressed in percent (e.g. 12.25)
3. Prop: print option to XLS file in the current MATLAB directory
4. Plop: plot option
5. Freq: yearly periodicity at end of which payment is due
6. Comp: option for computing periodic interest rate
%
The OUTPUT includes eight variables and two scalars:
I) Amorout: Tx8 matrix containing:
1. Tx1 vector of t.th step, t=1,...,T
2. Tx1 vector of Interest rate in %
3. Tx1 vector of Principal paid
4. Tx1 vector of Interest paid
5. Tx1 vector of Balance Outstanding
6. Tx1 vector of Payment due
7. Tx1 vector of Cumulative Payment due
8. Tx1 vector of Ratio of (7) w.r.t. K0
%
II) T: Total number of steps (scalar)
III) Ratio: Cumulative Payment at time T / K0 (scalar)
%
Enjoy and provide feedback!

引用格式

Guido Travaglini (2024). Amortization schedule with variable interest rates (https://www.mathworks.com/matlabcentral/fileexchange/31790-amortization-schedule-with-variable-interest-rates), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2011a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Timetables in Finance 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.6.0.0

Extends and ameliorates original code by including PDF documentation and adding inputs.

1.1.0.0

Minor additions in the file text

1.0.0.0