choose elements from a array with condition
Show older comments
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
on 19 Mar 2018
extract=rowMatrix(10:10:1000)
Categories
Find more on Creating and Concatenating Matrices 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!