basic code question

7 views (last 30 days)
John
John on 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

Accepted Answer

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

More Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!