variance of portfolio as objective function

1 回表示 (過去 30 日間)
Sameer
Sameer 2014 年 5 月 19 日
回答済み: Star Strider 2014 年 5 月 19 日
how would be able to set up the variance of a portfolio as an seperate objective function?
I have the data read in from excel already

回答 (2 件)

Star Strider
Star Strider 2014 年 5 月 19 日

Image Analyst
Image Analyst 2014 年 5 月 19 日
What do you mean? There already is a built in function for variance called var(). Why do you need to make your own function for that?
  3 件のコメント
Star Strider
Star Strider 2014 年 5 月 19 日
Use an anonymous function.
Sameer
Sameer 2014 年 5 月 19 日
whats that

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

カテゴリ

Help Center および File ExchangePortfolio Optimization and Asset Allocation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by