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
2018-3-19
extract=rowMatrix(10:10:1000)
类别
在 帮助中心 和 File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!