getting a specific column from a table, Part 2

1 visualización (últimos 30 días)
alpedhuez
alpedhuez el 14 de Dic. de 2020
Comentada: alpedhuez el 14 de Dic. de 2020
tells
T{:,1}
as a way to specify the first column. Now suppose I want to specify 3rd to 35 th column and 37 th column. How will it work?

Respuesta aceptada

Star Strider
Star Strider el 14 de Dic. de 2020
Try this:
cols = T{:,[3:35 37]};
.
  1 comentario
alpedhuez
alpedhuez el 14 de Dic. de 2020
https://www.mathworks.com/matlabcentral/answers/21030-how-to-specifically-select-columns-in-a-data-matrix

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Logical en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by