copy and paste datas from two Arrays into one
1 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
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 = cat(1,A,B)
.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Import and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!