matrix = linspace(start, end, no of values)
Returns a matrix going from start to end with count elements.
A similar result can be obtained by using the colon operator.
linspace(0, 1, 11) = [0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1] linspace(0, 10 , 3) = [0, 5, 10]