When I run this code in Matlab, the command window say this: Undefined function 'VAR_OLS' for input arguments of type 'double'. Error in Q2 (line 29) [AR_3d,Chol_Var] = VAR_OLS(Z,pp,1,[]);

bold

1 件のコメント

John D'Errico
John D'Errico 2016 年 7 月 16 日
I'm sorry. Do you expect anyone to actually read that image as pasted in? How can you hope for an answer with only that information?
Apparently you do not have a function called VAR_OLS. But MATLAB already told you that.

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

 採用された回答

Stalin Samuel
Stalin Samuel 2016 年 7 月 16 日
Make sure that file "VAR_OLS" is available in your working directory

3 件のコメント

John D'Errico
John D'Errico 2016 年 7 月 16 日
It need ONLY be on your search path. All functions do not need to be in the working directory. Search paths are a great way to manage functions.
Yasser Sahebzadeh
Yasser Sahebzadeh 2016 年 7 月 16 日
編集済み: Yasser Sahebzadeh 2016 年 7 月 16 日
Thank you, i forgot to make the Var_Ols code and place it in my working directory !
Can you please send me VAR_OLS.m file to ogozc@istanbul.edu.tr

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Environment and Settings についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by