How can calculate this formula?
1 回表示 (過去 30 日間)
古いコメントを表示
I have a matrix of price time series (p1,p2...pn) and their weights w(1,n). How can calculate this formula?

0 件のコメント
回答 (1 件)
Matt J
2015 年 11 月 5 日
編集済み: Matt J
2015 年 11 月 5 日
v = w(:) .* sigma(:);
sigmaIndex = v.' * rho * v;
3 件のコメント
Matt J
2015 年 11 月 5 日
I had a typo. The 2nd line should be
sigmaIndex = v.' * rho * v;
If that wasn't the misunderstanding, it's unclear what is. All of the variables are from notation given by you in your post.
参考
カテゴリ
Help Center および File Exchange で Creating and Concatenating Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!