Table variable subscripts must be real positive integers
2 ビュー (過去 30 日間)
表示 古いコメント
Using the data from https://la.mathworks.com/help/finance/black-litterman-portfolio-optimization.html, and running the code head(T(:,["Dates" benchmarkName assetNames])), get the following error: Table variable subscripts must be real positive integers, logicals, character vectors, or cell arrays of character vectors. I dont now how to fix it.
thanks
回答 (1 件)
Eike Blechschmidt
2021 年 7 月 29 日
I guess you just forgot the quotation marks around benchmarkName and assetNames.
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!