Need help with innerjoin where innerjoin returns more rows than necessary

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일

0 개 추천

Just found what's wrong here. Table B has same rows multiple times.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

제품

릴리스

R2018a

태그

질문:

JFz
2018년 9월 7일

답변:

JFz
2018년 9월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by