basic code question

2 次查看(过去 30 天)
John
John 2012-3-22
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

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by