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!