getting a specific column from a table, Part 2

1 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Logical 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by