how to merge the data in a table into one column

8 views (last 30 days)
sunitha
sunitha on 19 Feb 2021
Commented: Rik on 19 Feb 2021
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.

Answers (1)

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

Sign in to comment.

Categories

Find more on Tables in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!