choose elements from a array with condition

I have a row matrix of dimension1x1000 . I need another row matrix consisting of every 10th element of the above matrix so that the dimension now is 1x100. What to be done in this context?

回答 (1 件)

David Fletcher
David Fletcher 2018 年 3 月 19 日

0 投票

extract=rowMatrix(10:10:1000)

カテゴリ

ヘルプ センター および File ExchangeCreating and Concatenating Matrices についてさらに検索

回答済み:

2018 年 3 月 19 日

Community Treasure Hunt

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

Start Hunting!

Translated by