フィルターのクリア

Pick selected values in a vector

2 ビュー (過去 30 日間)
civs
civs 2014 年 8 月 21 日
コメント済み: Mikhail 2014 年 8 月 22 日
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 件のコメント
Iain
Iain 2014 年 8 月 21 日
Yup
Mikhail
Mikhail 2014 年 8 月 22 日
Sure.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangePortfolio Optimization and Asset Allocation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by