How to extract common Group in three countries

조회 수: 1 (최근 30일)
Kanakaiah Jakkula
Kanakaiah Jakkula 2015년 10월 31일
댓글: Kanakaiah Jakkula 2015년 10월 31일

I have the following list:

Country	Group1	Group2
Country1	VG	Ge
Country1	VA	AR
Country1	VC	VF
Country1	VG	VF
Country1	AR	GE
Country2	VA	AR
Country2	VG	VF
Country2	VA	VG
Country2	VC	VF
Country3	VC	VF
Country3	VG	VF
Country3	VA	VG
Country3	VA	AR
Country3	AR	GE

I want to extract commonly list of Group1&Group2 (Group1 &Group2 should appear in all three countries)those should commonly appear in all three countries.

Thanks in advance.

  댓글 수: 2
Image Analyst
Image Analyst 2015년 10월 31일
I don't know what a "commonly list" is. Please give your desired output.
Kanakaiah Jakkula
Kanakaiah Jakkula 2015년 10월 31일
Sir, My desired output is below:
VA AR
VC VF
VG VF
Because these three pairs (My means of pairs is Group1&Group2 is a pair) appear in all three countries.
Sinecelry,

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Mathematics에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by