Using Matlab Create the matrix shown below by using the vect
Using Matlab........
Create the matrix shown below by using the vector notation for creating vectors with constant spacing and/or the 1inspace command when entering the rows. B = [1 4 7 10 13 16 19 22 25 72 66 60 54 48 42 36 30 24 0 0.125 0.250 0.375 0.500 0.625 0.750 0.875 1.000]Solution
b1 = linspace(1, 25, 9); %creating first row
b2 = linspace(72, 24, 9); %second row
b3 = linspace(0, 1.000, 9); %third row
B = [b1;b2;b3]; %concatenating rows
disp(B); %displaying the answer
