How can I separate my data set easily based on station names

1 view (last 30 days)
I have a dataset with a number of ground stations with a corresponding x, y and z coordinate, a week number and a year number. I wrote a program that removes outliers, fits a curve, plots the series etc etc for a single station. However I have this enormous data set with a weekly value for every station for 5 years.
An example of a data line is:
ALGO 45.95580042 -78.07136855 200.911047 12 2007
The question now is, is their an easy way to import the data and separate and sort the data so that I can run the program for all stations separately?
I hope that I explained the purpose of my question for it is a bit difficult to write down.
Thanks in advance!

Answers (1)

dpb
dpb on 19 May 2015
This is the place to use a table and categorical arrays. Start at
for tables and then look at the categorical arrays and the examples converting character variables to categorical.

Community Treasure Hunt

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

Start Hunting!