필터 지우기
필터 지우기

copy and paste datas from two Arrays into one

조회 수: 2 (최근 30일)
simone zappalà
simone zappalà 2022년 5월 12일
답변: Star Strider 2022년 5월 12일
I want to create an array containig datas from two different arrays (with the same colmuns but different rows).
A=[3 4 6]
B=[5 7 9
11 14 17]
C=[3 4 6
5 7 9
11 14 17]
this is an example, i need the order a gave in C.

답변 (1개)

Star Strider
Star Strider 2022년 5월 12일
At leasty two options for this —
A = [3 4 6];
B = [5 7 9
11 14 17];
C = [A; B]
C = 3×3
3 4 6 5 7 9 11 14 17
C = cat(1,A,B)
C = 3×3
3 4 6 5 7 9 11 14 17
.

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by