MATLAB Answers

how to rearrage the matrix?

조회 수: 1(최근 30일)
vimal kumar chawda
vimal kumar chawda 2021년 5월 28일
댓글: Fangjun Jiang 2021년 5월 28일
I have 4*3 table data and I want want to rearragne in only one column.
Like [objectpointsepoch1(:,2) objectpointsepoch1(:,3)] but its 2*3 I need the 6*1 matrix.
  댓글 수: 1
vimal kumar chawda
vimal kumar chawda 2021년 5월 28일
I need like this as 2nd column is x1 to s4 and 3rd column is y1 to y4. So I need it as image shown.

댓글을 달려면 로그인하십시오.

채택된 답변

Fangjun Jiang
Fangjun Jiang 2021년 5월 28일
[objectpointsepoch1(:,2); objectpointsepoch1(:,3)]
  댓글 수: 7
Fangjun Jiang
Fangjun Jiang 2021년 5월 28일
see examples in
doc table
doc reshape

댓글을 달려면 로그인하십시오.

추가 답변(0개)

Community Treasure Hunt

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

Start Hunting!

Translated by