フィルターのクリア

How can I merge two rows into one

26 ビュー (過去 30 日間)
012786534
012786534 2016 年 5 月 10 日
コメント済み: Mubashir 2017 年 2 月 28 日
Hi all,
Newbie question here. Let's say I have 6 variables (A-F) and values in 2 rows like this:
A B C D E F
1 2 3
4 5 6
Now I would simply like to merge them into one, like this:
A B C D E F
1 2 3 4 5 6
How would I do that? Thanks
  2 件のコメント
Walter Roberson
Walter Roberson 2016 年 5 月 10 日
In what sense are any of the values "in 2 rows" ?
Guillaume
Guillaume 2016 年 5 月 10 日
Please use valid matlab syntax for your examples rather than abstract code that does not mean anything.

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

回答 (1 件)

Walter Roberson
Walter Roberson 2016 年 5 月 10 日
[A(1,:), B(1,:), C(1,:), D(2,:), E(2,:), F(2,:)]
  3 件のコメント
Walter Roberson
Walter Roberson 2017 年 2 月 27 日
unique()
Mubashir
Mubashir 2017 年 2 月 28 日
Thanks...

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

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by