delete rows from matrix A in patten

delete rows from 5400x4096 matrix A in patten: The pattern of rows is keep 60, delete 60, keep 60, delete 60

Risposte (2)

B = reshape(A, 60, [], size(A,2));
B = reshape( B(1:2:end, :, :, :), [], size(A,2) );

Categorie

Scopri di più su Mathematics in Centro assistenza e File Exchange

Richiesto:

il 22 Ott 2016

Risposto:

il 22 Ott 2016

Community Treasure Hunt

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

Start Hunting!

Translated by