getting a specific column from a table, Part 2

1 回表示 (過去 30 日間)
alpedhuez
alpedhuez 2020 年 12 月 14 日
コメント済み: alpedhuez 2020 年 12 月 14 日
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?

採用された回答

Star Strider
Star Strider 2020 年 12 月 14 日
Try this:
cols = T{:,[3:35 37]};
.
  1 件のコメント
alpedhuez
alpedhuez 2020 年 12 月 14 日
https://www.mathworks.com/matlabcentral/answers/21030-how-to-specifically-select-columns-in-a-data-matrix

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by