choose elements from a array with condition

1 view (last 30 days)
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?

Answers (1)

David Fletcher
David Fletcher on 19 Mar 2018
extract=rowMatrix(10:10:1000)

Categories

Find more on Structures in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!