choose elements from a array with condition

1 visualizzazione (ultimi 30 giorni)
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?

Risposte (1)

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

Categorie

Scopri di più su Structures in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by