How to join two matrix arrays together

5 ビュー (過去 30 日間)
Moe
Moe 2015 年 6 月 29 日
コメント済み: Adhityan R 2020 年 5 月 1 日
I have two matrices A(i) and B(i) with similar (i) arrays. This i will be vary in each run. For example for i = 3, A and B are:
A = [774 631 584];
B = [19 128 220];
I want matrix C to be:
C = [774,19;631,128;584,220]; % first array in matrix A comes with first array in matrix B

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2015 年 6 月 29 日
編集済み: Azzi Abdelmalek 2015 年 6 月 29 日
  3 件のコメント
Azzi Abdelmalek
Azzi Abdelmalek 2015 年 6 月 29 日
[A' B']
Adhityan R
Adhityan R 2020 年 5 月 1 日
horzcat(A,B)

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

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