Convert IRDataCurve
object to RateSpec
F = toratespec(CurveObj,InpDates)
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. |
F = toratespec(CurveObj,InpDates)
returns a RateSpec
object that is identical to the RateSpec
structure created by the
function intenvset
.