This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
gibson:teaching:fall-2013:math445:vocabulary [2013/10/07 19:10] gibson |
gibson:teaching:fall-2013:math445:vocabulary [2013/10/14 19:02] (current) gibson |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Matlab vocabulary ====== | ====== Matlab vocabulary ====== | ||
| - | You should be familiar with the following Matlab programming constructs and functions. | + | You should be familiar with most of the following Matlab programming constructs and functions. |
| + | I have put parentheses around topics we haven't covered yet, which you aren't responsible for knowing. | ||
| + | I'll remove the parentheses when we cover the topic. | ||
| <code> | <code> | ||
| compact scientific notation (e.g. 1.4e-06) | compact scientific notation (e.g. 1.4e-06) | ||
| - | complex numbers (e.g. 3 + 4*i) | + | (complex numbers (e.g. 3 + 4*i)) |
| Inf, NaN | Inf, NaN | ||
| Line 40: | Line 43: | ||
| if-elseif-else-end | if-elseif-else-end | ||
| while-end | while-end | ||
| - | switch | + | (switch) |
| - | continue | + | (continue) |
| - | break | + | (break) |
| - | pause | + | (pause) |
| constructing matrices and vectors | constructing matrices and vectors | ||
| Line 60: | Line 63: | ||
| sum | sum | ||
| mean | mean | ||
| - | ceil | + | sort |
| - | floor | + | (ceil) |
| + | (floor) | ||
| round | round | ||
| size | size | ||
| - | input | + | (input) |
| - | disp | + | (disp) |
| fprintf (%c, %s, %d, %f, \n) | fprintf (%c, %s, %d, %f, \n) | ||
| save | save | ||
| Line 71: | Line 75: | ||
| clear | clear | ||
| class | class | ||
| - | who | + | (who) |
| - | what | + | (what) |
| - | which | + | (which) |
| | | ||
| plotting functions | plotting functions | ||
| plot | plot | ||
| semilogy | semilogy | ||
| - | semilogx | + | (semilogx) |
| - | loglog | + | (loglog) |
| - | hist | + | contour |
| + | (hist) | ||
| xlabel | xlabel | ||
| ylabel | ylabel | ||
| Line 86: | Line 91: | ||
| legend | legend | ||
| axes | axes | ||
| - | hold, hold off, hold on | + | (hold, hold off, hold on) |
| clf | clf | ||
| grid off, grid on | grid off, grid on | ||
| color & marker codes | color & marker codes | ||
| figure | figure | ||
| - | subplot | + | (subplot) |
| user-defined functions | user-defined functions | ||
| - | function name, filename | + | function name, filename |
| - | arguments | + | arguments |
| - | outputs | + | outputs |
| - | anonymous functions | + | anonymous functions |
| - | syntax for using a function as an argument to another function | + | syntax for using a function as an argument to another function |
| scripts | scripts | ||
| </code> | </code> | ||