| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Financial Toolbox |
| Contents | Index |
| Learn more about Financial Toolbox |
V = portvar(Asset, Weight)
Asset | M-by-N matrix of M asset returns for N securities. |
Weight | R-by-N matrix of R portfolio weights for N securities. Each row of Weight constitutes a portfolio of securities in Asset. |
V = portvar(Asset, Weight) returns the portfolio variance as an R-by-1vector (assuming Weight is a matrix of size R-by-N) with each row representing a variance calculation for each row of Weight.
V = portvar(Asset) assigns each security an equal weight when calculating the portfolio variance.
Bodie, Kane, and Marcus, Investments, Chapter 7.
View demos and recorded presentations led by industry experts.
Now On Demand
Network with industry peers and learn the latest applications of the leading software product for computational finance.
| © 1984-2010- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |