Need help with innerjoin where innerjoin returns more rows than necessary

1 回表示 (過去 30 日間)
JFz
JFz 2018 年 9 月 7 日
回答済み: JFz 2018 年 9 月 7 日
Hi, I am using innerjoin to join two tables A and B: C = innerjoin(A, B); A has 30 rows and B has 140 rows. After the join, the result C has 70 rows. How come? I am quite puzzled. I just wanted 30 rows as in table A with a few extra columns from B. Thanks for any help!

採用された回答

JFz
JFz 2018 年 9 月 7 日
Just found what's wrong here. Table B has same rows multiple times.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

タグ

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by