Matlab questions!
1.Give the Matlab command to create the following matrixas M in the workspace:
1 2 3
4 5 6
7 8 9
a. Give the command that will find the product of M22and M31
b. Give the result for >>a=M(2:3,[1,3])
2.A ball is traveling upward with an initialvelocity of 100 m/s. The velocity is reducing at a rate of 9.8m/s/s. So the velocity is given by v=–g*t+v_0 and theposition is given by
y= -0.5*g*t^2 +v_0*t+y_0. The initial altitude of the ball is 10meters
a.Create a position vector, v_v, that contains the velocity ofthe ball at times [0 2 4 6 8 10] seconds
b.Plot velocity and postion as
PayPal Gateway not configured
PayPal Gateway not configured