Financial Toolbox
  Go to function:
    Search    Help Desk 
cfdur    Examples   See Also

Cash-flow duration and modified duration.

Syntax

Arguments

cf
Cash flow. A vector of real numbers.
yld
Periodic yield. A scalar. Enter as a decimal fraction.

Description

[d, md] = cfdur(cf, yld) calculates the duration d and modified duration (volatility) md of a cash flow in periods.

Example

Given a cash flow of nine payments of $2.50 and a final payment $102.50, with a periodic yield of 2.5%:

See Also

bondconv, bonddur, cfconv



[ Previous | Help Desk | Next ]