# channelflow.org

### Site Tools

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

# Differences

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

 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] Both sides previous revision Previous revision 2018/01/26 06:53 gibson [Constructing vectors with linspace] 2018/01/26 06:52 gibson [Constructing vectors with linspace] 2018/01/26 06:51 gibson [Constructing vectors with linspace] 2018/01/25 09:03 gibson [Constructing vectors with linspace :] 2018/01/25 08:43 gibson [Constructing vectors with linspace :] 2018/01/25 08:42 gibson [Constructing vectors with linspace :] 2018/01/24 18:24 gibson [Constructing vectors with the colon operator :] 2018/01/24 18:18 gibson created 2018/01/26 06:53 gibson [Constructing vectors with linspace] 2018/01/26 06:52 gibson [Constructing vectors with linspace] 2018/01/26 06:51 gibson [Constructing vectors with linspace] 2018/01/25 09:03 gibson [Constructing vectors with linspace :] 2018/01/25 08:43 gibson [Constructing vectors with linspace :] 2018/01/25 08:42 gibson [Constructing vectors with linspace :] 2018/01/24 18:24 gibson [Constructing vectors with the colon operator :] 2018/01/24 18:18 gibson created Line 175: Line 175: >> ​ 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 +