Brief introduction on how programming works, what variables and data types are, how to think about them and how you could/should use them.
fundamental programming principles (pdf)
I give a few simple Matlab scripts and a Shell script as examples for how arrays can be used. The sources are available as tar.gz or zip archive.
1. | Review the introductory part on cell arrays and structs in Matlab.
Jeff will cover that again next week, but you should be mildly familiar with the concepts as introduced in this
lecture. Maybe read the Matlab documentation on that:
> doc cell > doc struct |
||||
2. | Understand the "text editor story" by scanning through: http://en.wikipedia.org/wiki/Text_editor. This may seem silly, but it's gonna be one of your most important tools to choose; esp. once you're leaving the Matlab world. A poor choice in that department can make your work less enjoyable. There are many choices! | ||||
3. | What datatype would be most appropriate for the following values? Think about how you would use the data, most probably you will iterate over some of it, and how you could access it most conveniently (you can use Matlab datatypes):
|
ronni <at> gi <dot> alaska <dot> edu | Last modified: September 19 2011 18:53.