How to join two matrix arrays together

67 views (last 30 days)
Moe on 29 Jun 2015
Commented: Adhityan R on 1 May 2020
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

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 29 Jun 2015
Edited: Azzi Abdelmalek on 29 Jun 2015

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by