How to join two matrix arrays together

3 views (last 30 days)
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
  3 Comments

Sign in to comment.

More Answers (0)

Categories

Find more on Data Types in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!