Creating a new variable from 2 variables

How do I create a new variable, (Variable C), from two existing Variables, (Variable A, Variable B).
Variable A and B are both single column Matrix.
It seems like it could be simple but I cant find anything...
Thanks

1 Comment

Sorry, I Have found the Answer now.
It was simple.
VariableC=[VariableA, VariableB]

Sign in to comment.

Answers (0)

Products

Tags

Asked:

on 12 Jan 2017

Commented:

on 12 Jan 2017

Community Treasure Hunt

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

Start Hunting!