getting a specific column from a table, Part 2

1 visualizzazione (ultimi 30 giorni)
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?

Risposta accettata

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

Accedi per commentare.

Più risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by