Is it possible to use the function IRFunctionCurve with a Matlab version R2012b?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Griselda
el 10 de Mzo. de 2015
Comentada: Christiaan
el 11 de Mzo. de 2015
Hi, I'm trying to use the IRFunctionCurve.fitNelsonSiegel with a Matlab version R2012b but I can't. Is it possible? If yes, how? Thanks. Griselda
0 comentarios
Respuesta aceptada
Christiaan
el 11 de Mzo. de 2015
Editada: Christiaan
el 11 de Mzo. de 2015
Dear Griselda,
Yes the function can be used with MatlabR2012b. The function IRFunctionCurve is part of the Financial Instruments Toolbox. To check if you have this toolbox, please type in your matlab prompt 'ver' and look if the Financial Instruments Toolbox is included.
If you have the toolbox, but the function still doesn't seems to exist, please type in the matlab prompt: 'which IRFunctionCurve'. If the function cannot be found, then you have to look in your harddrive and (when needed) restore the m-file to the original path with restoredefaultpath .
An example how to use this function (with the NelsonSiegel fit) you can look at this Mathworks page.
Good luck! Christiaan
Más respuestas (0)
Ver también
Categorías
Más información sobre Get Started with Curve Fitting Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!