getting a specific column from a table, Part 2

1 vue (au cours des 30 derniers jours)
alpedhuez
alpedhuez le 14 Déc 2020
Commenté : alpedhuez le 14 Déc 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?

Réponse acceptée

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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by