필터 지우기
필터 지우기

how to append my data?

조회 수: 1 (최근 30일)
PARVATHY NAIR
PARVATHY NAIR 2022년 12월 21일
이동: VBBV 2022년 12월 28일
let my data be
1 1
2 1
2 2
2 3
3 4
4 5
5 6
6 6
and i want it as
1
2
2
2
3
4
5
6
1
1
2
3
4
5
6
6

답변 (1개)

VBBV
VBBV 2022년 12월 21일
D = [1 1
2 1
2 2
2 3
3 4
4 5
5 6
6 6]
D = 8×2
1 1 2 1 2 2 2 3 3 4 4 5 5 6 6 6
D = reshape(D,[],1)
D = 16×1
1 2 2 2 3 4 5 6 1 1
  댓글 수: 1
Jan
Jan 2022년 12월 21일
이동: VBBV 2022년 12월 28일
Or: D = D(:)

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Interpolation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by