Portfolio expected rate of return
R = portror(Return,Weight)
R = portror(Return,Weight) returns a
for the expected rate of return.
This example shows a portfolio that 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.