basic code question

3 visualizzazioni (ultimi 30 giorni)
John
John il 22 Mar 2012
Hello,
If I have a 2 vectors A and B, how would I save them as one vector in the workspace called C? For example C would be <100x2double>?
Thank you

Risposta accettata

Geoff
Geoff il 22 Mar 2012
I assume A and B are both 100x1 row-vectors:
C = [A B];

Più risposte (0)

Categorie

Scopri di più su Get Started with MATLAB in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by