Get zero rates for input dates for IRFunctionCurve
F = getZeroRates(CurveObj,InpDates) F = getZeroRates(CurveObj,InpDates,Name,Value)
CurveObj | Interest-rate curve object that is constructed using |
InpDates | Vector of input dates using MATLAB® date format. The input dates must be after the settle date. |
Compounding | (Optional) Scalar that sets the compounding frequency per year for zero rates are:
|
Basis | (Optional) Day-count basis value for zero rates:
For more information, see Basis. |
F = getZeroRates(CurveObj,InpDates,Name,Value)
returns zero rates for the
input dates. You must enter the optional arguments for Basis
and
Compounding
as comma-separated pairs of
Name
,Value
arguments. Name
is the argument name and Value
is the corresponding value.
Name
must appear inside quotes. You can specify several name and
value pair arguments in any order as
Name1
,Value1
,...,NameN
,ValueN
.