This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
gibson:teaching:spring-2018:math445:lecture:arithmetic [2018/01/24 18:02] gibson [Variables] |
gibson:teaching:spring-2018:math445:lecture:arithmetic [2018/01/24 18:05] (current) gibson [basic math functions] |
||
|---|---|---|---|
| Line 145: | Line 145: | ||
| </code> | </code> | ||
| ==== basic math functions ==== | ==== basic math functions ==== | ||
| - | sin, cos, tan, sec, csc, cot, asin, acos, atan, | + | |
| - | exp, log, log10, abs, sqrt, factorial, mod | + | <code matlab> |
| + | sin, cos, tan, sec, csc, cot, asin, acos, atan % the classic trig funcs, in radians | ||
| + | sind, cosd, tand, secd, cscd, cotd, asind, acosd, atand % the classic trig funcs, in degrees | ||
| + | exp, log, log10, abs, sqrt, factorial, mod % other awesome functions | ||
| + | </code> | ||
| | | ||
| | | ||