User Tools

Site Tools


gibson:teaching:spring-2018:math445:lecture:vectors

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
gibson:teaching:spring-2018:math445:lecture:vectors [2018/01/26 06:52]
gibson [Constructing vectors with linspace]
gibson:teaching:spring-2018:math445:lecture:vectors [2018/01/26 06:53] (current)
gibson [Constructing vectors with linspace]
Line 175: Line 175:
 <code matlab> <code matlab>
 >> ​ x = linspace(0, 2*pi, 5) >> ​ x = linspace(0, 2*pi, 5)
- 
 x = x =
- +        0    1.5708 ​   3.1416 ​   4.7124 ​   6.2832
-         0    1.5708 ​   3.1416 ​   4.7124 ​   6.2832+
  
 >> f = sin(x) >> f = sin(x)
- 
 f = f =
- +        0    1.0000 ​   0.0000 ​  ​-1.0000 ​  ​-0.0000
-         0    1.0000 ​   0.0000 ​  ​-1.0000 ​  ​-0.0000+
 </​code>​ </​code>​
  
gibson/teaching/spring-2018/math445/lecture/vectors.txt · Last modified: 2018/01/26 06:53 by gibson