how to merge the data in a table into one column

조회 수: 4 (최근 30일)
sunitha
sunitha 2021년 2월 19일
댓글: Rik 2021년 2월 19일
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
sunitha
sunitha 2021년 2월 19일
tq
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