basic code question

3 Ansichten (letzte 30 Tage)
John
John am 22 Mär. 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

Akzeptierte Antwort

Geoff
Geoff am 22 Mär. 2012
I assume A and B are both 100x1 row-vectors:
C = [A B];

Weitere Antworten (0)

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by