フィルターのクリア

Combine two tables together

3 ビュー (過去 30 日間)
Marty Dutch
Marty Dutch 2014 年 5 月 2 日
コメント済み: Image Analyst 2014 年 5 月 2 日
Dear experts,
I want to combine two seperate tables together so that they form one table.
I have these two tables:
1 1
2 0
3 1
4 1
5 0
6 1
I want to combine then into 1 table like this:
1 1
2 0
3 1
4 1
5 0
6 1
Can somebody help me?
Marty
  1 件のコメント
Image Analyst
Image Analyst 2014 年 5 月 2 日
We call those kinds of numbers-only items "arrays" or "matrices". "tables" are a particular data type that is sort of in between arrays and cell arrays. Tables are good if you need to mix data types, like columns of numbers along with columns of strings, into a single variable. Look up tables in the help if you have R2013b or later.

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

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2014 年 5 月 2 日
編集済み: Azzi Abdelmalek 2014 年 5 月 2 日
a=[1 1;2 0;3 1];
b=[4 1;5 0;6 1];
c=[a;b]
  1 件のコメント
Marty Dutch
Marty Dutch 2014 年 5 月 2 日
Thanks a lot!

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

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by