Pick selected values in a vector

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!

답변 (0개)

카테고리

도움말 센터File Exchange에서 Logical에 대해 자세히 알아보기

질문:

2014년 8월 21일

댓글:

2014년 8월 22일

Community Treasure Hunt

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

Start Hunting!

Translated by