error massage index exceeds
古いコメントを表示
Hi,
I am running my codes and getting the following error massage:
Index exceeds matrix dimensions. Error in main (line 73) W=[y1lag(lagno(i)+2:T,:) dylag(lagno(i)+2:T,:)];
why am I getting it and how to deal with it please? I have attached the matlab m file. I am really need a help asap since I am running out of time for submission.
Regards Sarah
5 件のコメント
KSSV
2016 年 12 月 7 日
Cannot check unless short.xlxs file is given..
Maria hassan
2016 年 12 月 7 日
Maria hassan
2016 年 12 月 7 日
Maria hassan
2016 年 12 月 7 日
KSSV
2016 年 12 月 7 日
dylag=lagmatrix(dy(:,i),(1:lagno(i))); % line 72
your dylag is an empty matrix. Because 1:lagno(i) is zero. lagno is zero, so there is no possibility of picking columns from lagmatrix.
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Matrix Indexing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!