Regular vector
MATLAB allows you to create a uniformly spaced vector called a proper (regular) vector in two ways.
Using the function/command linspace(X1 , X2 , N); which generates N points between X1 and X2.
Using the function/command v = [X1 : P : X2]; which generates v vector, with the first element X1, last element X2, and the difference between elements is any real number P.
Note :
If you don't write the step or call the difference between elements P value it will take P = 1 automatically.