%% Create Vector with Specified Increment
% Create vectors that increment or decrement by a specified value.
% Create a vector whose elements increment by 0.1.

x = 0:0.1:1

%
% Create a vector whose elements decrement by -2.

y = 10:-2:0

% Copyright 2012 The MathWorks, Inc.