MATLAB Answers

how to rearrage the matrix?

5 views (last 30 days)
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 Comment
vimal kumar chawda
vimal kumar chawda on 28 May 2021
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.

Sign in to comment.

Accepted Answer

Fangjun Jiang
Fangjun Jiang on 28 May 2021
[objectpointsepoch1(:,2); objectpointsepoch1(:,3)]
  7 Comments
Fangjun Jiang
Fangjun Jiang on 28 May 2021
see examples in
doc table
doc reshape

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!