SUNY Geneseo Department of Mathematics
Friday, September 19
Math 230 01
Fall 2014
Prof. Doug Baldwin
% build a evenly-spaced vector of numbers
1:0.01:2
ans =
Columns 1 through 5
1.0000 1.0100 1.0200 1.0300 1.0400
...
Column 101
2.0000
linspace( 1, 2, 101 )
ans =
Columns 1 through 5
1.0000 1.0100 1.0200 1.0300 1.0400
...
Column 101
2.0000