====== Differences ====== This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
gibson:teaching:fall-2012:math445:repertoire [2012/09/24 20:47] gibson created |
gibson:teaching:fall-2012:math445:repertoire [2012/09/24 20:56] (current) gibson |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | **A list of Matlab commands and syntax that you should know** | + | ====== Matlab commands and syntax that you should know ====== |
+ | |||
+ | Asterisks mark topics that have not yet been covered in lecture. | ||
<code> | <code> | ||
- | how to read a floating-point number (e.g. 1.4e-06) | + | compact scientific notation (e.g. 1.4e-06) |
+ | complex numbers (e.g. 3 + 4*i) | ||
+ | *Inf, NaN | ||
= assignment | = assignment | ||
- + * / ^ algebraic operations | - + * / ^ algebraic operations | ||
\ solve system of equations Ax=b (x = A\b) | \ solve system of equations Ax=b (x = A\b) | ||
- | *commas and colons | + | *commas and semicolons |
*how to write a row vector | *how to write a row vector | ||
*how to write a col vector | *how to write a col vector | ||
Line 57: | Line 62: | ||
*size | *size | ||
*input | *input | ||
+ | *disp | ||
*fprintf (%c, %s, %d, %f, \n) | *fprintf (%c, %s, %d, %f, \n) | ||
+ | *save | ||
+ | *load | ||
plotting functions | plotting functions |