Scripts to import baseball statistics into MATLAB. You can use these to do statistical analysis on baseball performance.
Run process_data
to import the data into MATLAB tables.
You can plot interesting data like so
or like so
or like so
The data files (.csv) are the work of Sean Lahman and licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported.
I offer thanks to Sean. Sports statistics are sometimes hard to come by and this is a good resource for baseball and stats geeks alike.
I work for MathWorks and we make MATLAB. I made this because I wanted to play with baseball stats, not to promote MATLAB.