basic code question

3 vues (au cours des 30 derniers jours)
John
John le 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

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by