IRFitOptions
Construct specific options for fitting interest-rate curve object
Description
Build an IRFitOptions
object using
IRFitOptions
.
After creating an IRFitOptions
object, you can use the object with
fitFunction
.
For more detailed information on this workflow, see Interest-Rate Curve Objects and Workflow.
Creation
Description
sets properties and create the
IRFitOptions_obj
= IRFitOptions(InitialGuess
)IRFitOptions
object with an initial guess or with an initial guess
and bounds.
sets optional properties using name-value pairs and any
of the arguments in the previous syntax. For example, IRFitOptions_obj
= IRFitOptions(___,Name,Value
)IRFitOptions_obj =
IRFitOptions([7 2 1 0],'FitType','yield')
creates an
IRFitOptions
object to use with fitFunction
when building a custom fitting function. You can specify
multiple name-value pair arguments.
Input Arguments
Properties
Object Functions
fitFunction | Custom fit interest-rate curve object to bond market data |
Examples
Version History
Introduced in R2008b