How can i choose certain rows from a matrix?

1 Ansicht (letzte 30 Tage)
arkedia
arkedia am 1 Mär. 2013
i have a matrix (resulted from simulation) it contains 10000 row i want to make a new matrix from this matrix it contains only 1000 row (row number 10; row number 20; row number 30, ...., row number 10000). how can i choose these rows?

Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 1 Mär. 2013
Bearbeitet: Azzi Abdelmalek am 1 Mär. 2013
A=rand(10000,3)
out=A(10:10:10000,:)

Weitere Antworten (0)

Kategorien

Mehr zu Time Series finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by