how to rearrage the matrix?

2 次查看(过去 30 天)
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 个)

类别

Help CenterFile Exchange 中查找有关 Matrix Indexing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by