Answer:
linspace(lowValue, highValue, (highValue-lowValue)/4).
Step-by-step explanation:
The linspace command is a MATLAB command to create a row array.
For example:
linspace(-2,2,1) creates the following row vector:
{-2,-1,0,1,2}
The first argument is the lowValue, the second argument is the highValue, and the third argument is the distance between each element of the vector.
linspace(0,30,5) creates the following row vector.
{0,5,10,15,20,25,30}
If a want a vector of 5 values in this interval, we do
linspace(0,30,(30-0)/4) creates the following row vector. The vector is
{0,7.5,15,22.5,30}
For n values between lowValue and highValue, we use
linspace(lowValue, highValue, (highValue-lowValue)/(n-1))
In this problem, we have that
5 values that are spaced linearly from lowValue to highValue. So
linspace(lowValue, highValue, (highValue-lowValue)/4).