フィルターのクリア

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 Center および File ExchangeData Types についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by