| 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 |
PortConfigs = selectreturn(AllMean, All Covariance, Target)
AllMean | Number of curves (NCURVES) by 1 cell array where each element is a 1-by-NASSETS (number of assets) vector of the expected asset returns used to generate each curve on the surface. |
AllCovariance | NCURVES-by-1 cell array where each element is an NASSETS-by-NASSETS vector of the covariance matrix used to generate each curve on the surface. |
Target | Target return value for each curve in the frontier. |
PortConfigs = selectreturn(AllMean, All Covariance, Target) returns the portfolio configurations for a target return given the average return and covariance for a rolling efficient frontier.
PortConfigs is a NASSETS-by-NCURVES matrix of asset allocation weights needed to obtain the target rate of return.
![]() | second | setfield | ![]() |
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 |