getting a specific column from a table, Part 2

9 Ansichten (letzte 30 Tage)
alpedhuez
alpedhuez am 14 Dez. 2020
Kommentiert: alpedhuez am 14 Dez. 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?

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by