主要内容

getDiscountactors.

获取输入日期的折扣因子Irfunctioncurve.

句法

f = getDiscountFactors(Curveobj,Inpdates)

争论

curveobj.

使用该兴趣率曲线对象Irfunctioncurve.

inpdates.

使用matlab的输入日期向量®日期格式。输入日期必须在结核日期之后。

描述

f = getDiscountFactors(Curveobj,Inpdates)返回输入日期的折扣因子。

例子

全部收缩

此示例显示如何获得输入日期的折扣因子Irfunctioncurve.

irfc = irfunctioncurve('向前',今天,@(t)多维尔([ -  0.0001 0.003 0.02],t));GetDiscountFactors(IRFC,今天+ 30:30:今天+ 720)
ans =.24×10.9984 0.9967 0.9950 0.9933 0.9916 0.9899 0.9881 0.9864 0.9846 0.9828⋮
在R2008B中介绍