MATLAB Answers

John
0

basic code question

Asked by 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

  0 Comments

Log in to comment.

Tags

1 Answer

Answer by Geoff
on 22 Mar 2012
 Accepted Answer

I assume A and B are both 100x1 row-vectors:

C = [A B];

  0 Comments

Log in to comment.


Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today