Create submatrix from large array based on string in column
조회 수: 2 (최근 30일)
이전 댓글 표시
Hello,
I have a very large data set imported from a .csv file that contains both numbers and strings. One of the columns (column 9) contains different pollutant names. I ultimately want to make a file that contains all the rows related to ozone. I have done this with numbers from excel documents, but the same thought process doesn't seem to be working for me here.
Any thoughts?
Thanks,
댓글 수: 0
채택된 답변
Guillaume
2017년 2월 10일
filteredcellarray = yourcellarray(strcmp(yourcellarray(:, 9), 'Ozone'), :)
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Matrices and Arrays에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!