Combining multiple vectors into 1

245 ビュー (過去 30 日間)
soloby
soloby 2015 年 6 月 15 日
回答済み: Ariunbolor Purvee 2018 年 8 月 22 日
if I had 3 vectors
x_lower = 1x100;
x_mid = 1x1;
x_upper = 1x100;
and I want to combine the 3 vectors into 1 vector, say,
x_final = 1x201;

採用された回答

Guillaume
Guillaume 2015 年 6 月 15 日
I'd recommend you follow the introductory tutorials in the doc, as it's a very basic operation:
x_final = [x_lower, x_mid, x_upper]

その他の回答 (1 件)

Ariunbolor Purvee
Ariunbolor Purvee 2018 年 8 月 22 日
x_final = [x_lower x_mid x_upper]

カテゴリ

Help Center および File ExchangeCode Generation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by