Is it possible to use the function IRFunctionCurve with a Matlab version R2012b?

1 回表示 (過去 30 日間)
Griselda
Griselda 2015 年 3 月 10 日
コメント済み: Christiaan 2015 年 3 月 11 日
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

採用された回答

Christiaan
Christiaan 2015 年 3 月 11 日
編集済み: Christiaan 2015 年 3 月 11 日
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
  2 件のコメント
Griselda
Griselda 2015 年 3 月 11 日
Thank you very much. The Curve Fitting Toolbox is included but not the Financial Instruments Toolbox. Do you know if it is possible to use it with the first one?
Christiaan
Christiaan 2015 年 3 月 11 日
Dear Griselda,,
The function IRFunctionCurve is not included in the Curve Fitting Toolbox. (see this link)
Kind regards, Christiaan

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGet Started with Curve Fitting Toolbox についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by