I state that I am not very experienced in MATLAB. I should create and minimize a function to find the weights of an asset allocation problem. The problem is as follow:
Minimize ∑(RC(Fj)/σP−1/M)^2 for j=1:M
sub ∑x=1
where RC(Fj) = (A⊤x)j⋅ (A+Σx/√x⊤Σx)j
where
  • A is a loadings matrix
  • A+ is Moore-Penrose inverse of A
  • Σ is a covariance matrix
  • x is a weights vector
I would need some codes to solve these problems. Thank you in advance.

 Réponse acceptée

Rishik Ramena
Rishik Ramena le 31 Déc 2020

0 votes

MATLAB does have a toolbox dedicated to solving optimization problems like these. Do have a look at its documentation for the ramp up.

1 commentaire

Tommaso Delicato
Tommaso Delicato le 16 Jan 2021
I cannot extract the j-th component of the vector which is calculated as the product of the part (A+Σx/√x⊤Σx)j.
Can you tell me how?

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Communications Toolbox dans Centre d'aide et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by