Getting values out of cell arrays
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Rudolf
el 6 de Mayo de 2021
Comentada: Rudolf
el 6 de Mayo de 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?
0 comentarios
Respuesta aceptada
Walter Roberson
el 6 de Mayo de 2021
output = cellfun(@(C) C(20:50,:), YourCellArray, 'uniform', 0);
Más respuestas (0)
Ver también
Categorías
Más información sobre Creating and Concatenating Matrices en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!