Applying regexpi to csv file
Ältere Kommentare anzeigen
I'm learning about regexpi. I have a csv file:
State Cloudy Sunshine Rainy
Indiana 52 89 0
California 66 99 1
New York 78 95 1
Indiana 25 52 5
California 45 42 2
Indiana 22 26 5
Indiana 22 89 2
Using regexpi or if there is a better way: I need a data output for only Indiana and Rainy so:
Indiana_Rainy = 0,5,2
So I will be skipping over 2 data columns and 3 commas since it is a csv file.
Thanks,
Amanda
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Characters and Strings finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!