How can i take selected rows from given matrix??
For instance, let A = rand(100) and i want to take 10th,20th,30th ----100th row from A
Without using 'for' ( since i have to do many times, speed is important ), deriving is possible?? Help me!

 Akzeptierte Antwort

Weitere Antworten (1)

Birdman
Birdman am 22 Nov. 2017

1 Stimme

A(10:10:100,:)

Kategorien

Mehr zu Creating and Concatenating Matrices finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!