How to join two matrix arrays together

4 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

Azzi Abdelmalek
Azzi Abdelmalek il 29 Giu 2015
Modificato: Azzi Abdelmalek il 29 Giu 2015
  3 Commenti

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Resizing and Reshaping Matrices in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by