could anyone help me how to combine data in two columns

4 ビュー (過去 30 日間)
jaah navi
jaah navi 2019 年 11 月 29 日
コメント済み: Stephan 2019 年 11 月 29 日
A=[1;
2;
3]
B=[4 ;
5;
6]
I want to have the result in the following manner
[1 4;
2 5;
3 6]
could anyone please help me on this.

採用された回答

Stephan
Stephan 2019 年 11 月 29 日
  2 件のコメント
jaah navi
jaah navi 2019 年 11 月 29 日
sorry i made a mistake
If
A=[1 2 3]
and
B=[4 5 6]
i need to have the result in the following manner
[1 4;
2 5;
3 6]
Could you please help me on this.
Stephan
Stephan 2019 年 11 月 29 日
res = [A' B']

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by