outRates = forwardrates(___,inpComp,inpBasis)
optionally specifies the input compounding frequency (inpComp) and
the input day-count basis (inpBasis) in addition to any of the input
argument combinations in the previous syntax.
ratecurve object, specified using a previously created ratecurve object.
Data Types: object
startDates — Start dates of interval to discount over datetime | serial date number | date character vector | date string
Start dates of the interval to discount over, specified as a scalar or an
NPOINTS-by-1 vector of datetimes, serial date
numbers, cell array of date character vectors, or string array.
startDates must be earlier than
endDates.
endDates — Maturity dates ending interval to discount over datetime | serial date number | date character vector | date string
Maturity dates ending the interval to discount over, specified as a scalar or an
NPOINTS-by-1 vector of datetimes, serial date
numbers, cell array of date character vectors, or string array.