Main Content
cfdur
Cash-flow duration and modified duration
Description
[
calculates the duration and modified duration of a cash flow in periods.Duration
,ModDuration
] = cfdur(CashFlow
,Yield
)
Examples
Input Arguments
Output Arguments
Version History
Introduced before R2006a