how to merge the data in a table into one column

5 次查看(过去 30 天)
I have a 4*3 table . Now i want to delete last row of the table and combine to a single column of a table .After deleting the last row of a table, the second column should come to the 4th position of a first column in a table. simiarly third column.

回答(1 个)

KSSV
KSSV 2021-2-19
A = rand(4,3) ;
A(end,:) = [] ; % delete last row
A = A(:)
  2 个评论
Rik
Rik 2021-2-19
If an answer solves your issue, please consider marking it as accepted answer. That is true for all your questions.

请先登录,再进行评论。

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by