| 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 |
Holdings = weights2holdings(Values, Weights, Prices)
Values | Scalar or number of portfolios (NPORTS) vector containing portfolio values. |
Weights | NPORTS by number of assets (NASSETS) matrix with portfolio weights. The weights sum to the value of a Budget constraint, which is usually 1. (See holdings2weights for information about budget constraints.) |
Prices | NASSETS vector of prices. |
Holdings = weights2holdings(Values, Weights, Prices) converts portfolio values and weights into portfolio holdings.
Holdings is a NPORTS-by-NASSETS matrix containing the holdings of NPORTS portfolios that contain NASSETS assets.
![]() | weeknum | willad | ![]() |
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-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |