Clear Filters
Clear Filters

How to get consecutive rows from a matrix

1 view (last 30 days)
OriAlpha
OriAlpha on 29 Apr 2019
Answered: KSSV on 29 Apr 2019
9 rows from the matrix and so on
for clear picture i have attached image below
how to do thisAnnotation 2019-04-29 082304.jpg

Answers (1)

KSSV
KSSV on 29 Apr 2019
A = 1:27 ;
iwant = min(reshape(A,9,[]))

Categories

Find more on Multidimensional Arrays 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!