|
| PREVIOUS EXAMPLE | INDEX OF EXAMPLES | NEXT EXAMPLE | Example 4: Defining a term structure functionOften it is the case that you have a number of interest rates that you would like to interpolate into some function. This can be done using the function DerivativesExpert`TermStructureTools`InterpolateInterestRates.
To end up with the following situation In cell B8 a function called "termstructure" has been defined (please
refer to the Derivatives Expert documentation on the function InterpolateInterestRates
in the TermStructureTools.m package). With the termstructure function we
can now find any interest rate for the range of thetas 0.25 to 11 years.
This is shown here for a selected number of thetas. |
|
Updated 2 August 2009 |