| 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 |
R = portror(Return, Weight)
Return | 1-by-N matrix of rates of return. Each column of Return represents the rate of return for a single security |
Weight | M-by-N matrix of weights. Each row of Weight represents a different weighting combination of the assets in the portfolio. |
R = portror(Return, Weight) returns a 1-by-M vector for the expected rate of return.
A portfolio is made up of two assets ABC and XYZ having expected rates of return of 10% and 14%, respectively. If 40% percent of the portfolio's funds are allocated to asset ABC and the remaining funds are allocated to asset XYZ, the portfolio's expected rate of return is:
r = portror([.1 .14],[.4 .6]) r = 0.1240
Bodie, Kane, and Marcus, Investments, Chapter 7.
![]() | portrand | portsim | ![]() |
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 |