Effacer les filtres
Effacer les filtres

Pick selected values in a vector

2 vues (au cours des 30 derniers jours)
civs
civs le 21 Août 2014
Commenté : Mikhail le 22 Août 2014
I have this vector V_min_var that is 3731x1, this vector stores the results from a for-loop. I want to pick selected values from the vector, row 1001 until the end, but skipping 10 places... so for example I want to take the values at rows: 1001,1011,1021,1031,1041, etc until the end.
Would this work?
Portfolio_1= V_min_var(1001:10:end)
Thanks!
  2 commentaires
Iain
Iain le 21 Août 2014
Yup
Mikhail
Mikhail le 22 Août 2014
Sure.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Portfolio Optimization and Asset Allocation dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by