choose elements from a array with condition

1 次查看(过去 30 天)
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
extract=rowMatrix(10:10:1000)

类别

Help CenterFile Exchange 中查找有关 Structures 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by