Azzera filtri
Azzera filtri

Getting values out of cell arrays

5 visualizzazioni (ultimi 30 giorni)
Rudolf
Rudolf il 6 Mag 2021
Commentato: Rudolf il 6 Mag 2021
I have a 1x24 cell containing 24 arrays of double values. How can i extract the values in row 20 to 50 in each cell over to a new 1x24 cell?

Risposta accettata

Walter Roberson
Walter Roberson il 6 Mag 2021
output = cellfun(@(C) C(20:50,:), YourCellArray, 'uniform', 0);

Più risposte (0)

Categorie

Scopri di più su Creating and Concatenating Matrices 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