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 CenterFile Exchange에서 Logical에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by