Problem with portalpha function

3 ビュー (過去 30 日間)
Mr LE
Mr LE 2015 年 2 月 4 日
コメント済み: Mr LE 2015 年 2 月 4 日
Hi,
Can anyone help me with the code:
a.alpha = portalpha(a(1).c , a(11).c , a(19).c,'capm')
This error message appears: Undefined function 'portalpha' for input arguments of type 'double'

採用された回答

Geoff Hayes
Geoff Hayes 2015 年 2 月 4 日
The error message is indicating that either you are passing an incorrect set of input parameters to the portalpha function, or you don't have this function (which is part of the Financial Toolbox). In the Command Window type
which portalpha -all
to list the path to the function. If you see something like 'portalpha' not found., then you do not have it (or at least, it is nowhere along the MATLAB search path). Also, check to see if you have the Financial Toolbox by typing
ver
to see the version of MATLAB and all installed toolboxes.
  1 件のコメント
Mr LE
Mr LE 2015 年 2 月 4 日
It seems that I don't have the Financial toolbox ...
Thanks for your answer!

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeManage Products についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by