This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
gibson:teaching:spring-2016:math445:lecture:vectors [2016/01/27 10:21] gibson [The transpose operator: ' (apostrophe)] |
gibson:teaching:spring-2016:math445:lecture:vectors [2016/01/28 11:33] (current) gibson [Math 445 lecture 2: Vectors] |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Math 445 lecture 2: Vectors ====== | ====== Math 445 lecture 2: Vectors ====== | ||
| + | topics | ||
| + | |||
| + | <code> | ||
| + | [] % creating vector vectors with square brackets | ||
| + | () % accessing/assigning vector elements with parentheses | ||
| + | ' % the transpose operator, apostrophe | ||
| + | : % the colon operator, making range vectors | ||
| + | + - % vector addition, subtraction | ||
| + | .* ./ .^ % elementwise vector operations | ||
| + | </code> | ||
| ===== Vectors in math ===== | ===== Vectors in math ===== | ||
| Line 142: | Line 152: | ||
| <code> | <code> | ||
| - | >> x = 0:0.1:1 | + | >> x = 0:0.1:0.7 |
| x = | x = | ||
| - | 0 0.1000 0.2000 0.3000 0.4000 0.5000 0.6000 0.7000 0.8000 0.9000 1.0000 | + | 0 0.1000 0.2000 0.3000 0.4000 0.5000 0.6000 0.7000 |
| </code> | </code> | ||
| - | ===== Further material ===== | + | ===== Supplemental material ===== |
| + | |||
| + | [[https://www.youtube.com/watch?v=zXP_pr7np-o | ' (apostrophe), Frank Zappa (the song)]] | ||
| - | [[https://www.youtube.com/watch?v=zXP_pr7np-o | ' (apostrophe), Frank Zappa]] | + | [[https://www.youtube.com/watch?v=kQDp2425WQ0&list=PL8WvZFiJpAr29HFJkRcE4NvWCeYy3ytte | ' (apostrophe), Frank Zappa (full album) ]] |