# MATLAB bootcamp

###
Class times: September 23 to 27 2013 (daily), 11am to 12pm

Location: Keck/OAR room 150

Office hours: 12:30pm to 1:30pm (every day) in Nierenberg 135

Contact: Kyla Drushka - kdrushka (at) ucsd (dot) edu

Syllabus (pdf)

Schedule and notes

#### Monday: the very basics. Introduction to the Matlab computing environment; variables and simple math; basic plotting; writing scripts. (PDF of notes)

Tuesday: matrices, arrays, and indexing; the basics of loading and saving data. (PDF of notes)

Wednesday: loops; if/else statements; simple statistics; basic fitting. (PDF of notes)

Thursday: more complex saving/loading data (e.g. NetCDF, binary); filtering. (PDF of notes)

Friday: more advanced plotting (images, customization); m_map and map projections; tips and any other topics people are interested in. (PDF of notes)

###

Homework

(homework is optional but recommended - it's hard to learn programming without actually doing it yourself!)

problem set 1 (pdf)

solution to problem set 1

problem set 2 (pdf)

hw2.mat - for problem set 2

solution to problem set 2

problem set 3 (pdf)

argo_profiles.mat - for problem set 3

solution to problem set 3

problem set 4 (pdf)

tao_sst.txt - for problem set 4

tau.nc - for problem set 4

No homework 5!