How do i eliminate such rows are not common between two tables?

조회 수: 3 (최근 30일)
ahmed obaid
ahmed obaid 2017년 4월 7일
댓글: ahmed obaid 2017년 4월 7일
Dear Experiences...
i have two tables in matlab : fist table involve only 2 columns are : (sample of data)
Country name State name
UK LND
UK BLG
UK SEG
USA WSN
USA NEY
etc...
Second table ... involve details content such following
State name var1 var2 var3 ..... var N
LND
BLG
NEY
etc..
so the output table .. perhaps involve the following
country name State name var 1 ... varN ( but only for the states that are exist in both first and second tables)

채택된 답변

Guillaume
Guillaume 2017년 4월 7일
This is called an inner join
newtable = innerjoin(table1, table2);

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Call Web Services from MATLAB Using HTTP에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by