How can i choose certain rows from a matrix?

1 回表示 (過去 30 日間)
arkedia
arkedia 2013 年 3 月 1 日
i have a matrix (resulted from simulation) it contains 10000 row i want to make a new matrix from this matrix it contains only 1000 row (row number 10; row number 20; row number 30, ...., row number 10000). how can i choose these rows?

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 3 月 1 日
編集済み: Azzi Abdelmalek 2013 年 3 月 1 日
A=rand(10000,3)
out=A(10:10:10000,:)

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeTime Series についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by