필터 지우기
필터 지우기

HOW TO DATA FILTER

조회 수: 7 (최근 30일)
Saptorshee Chakraborty
Saptorshee Chakraborty 2017년 12월 30일
답변: Walter Roberson 2017년 12월 30일
Hello, I have a data of Patents from OECD in delimited text format with IPC code being one column, I want to filter the data by selecting only certain IPC codes in that column. Please, can anybody guide me doing it, also the IPC codes are string variables.

답변 (1개)

Walter Roberson
Walter Roberson 2017년 12월 30일
Probably the easiest way is to readtable() and then select only the rows where the desired codes are, probably using ismember
selected_data = TheTable(ismember(TheTable{:,ColumnNumber}, ListOfDesiredCodes))

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by