Use one MATLAB statement to generate each of the followingscalars and vectors. (These parts are sequential)
a.) Generate the vector x=(sin5,sin10,sin15,...,sin200) but dontprint
b.)Find the Max value in X and which index has this value. Printboth the index and the value using Disp (so you can use 2statements)
c.)Find the minimum value x and which index has this value.Print both the index and the value using Disp (so you can use 2statements)
d.)Find the difference between the max and min values
e.) find the sum of all the elements of x
f.)find the sum of the absolute value of all the succesiveelements of x
g.) find the differences between all the successive elements ofx
h.)Find the absolute differences between all the successiveelements of x
k.) sort all these elements in increasing order. print this outin two columns. The first containing the values and the secondcontaining the indicies in x where these values occur (so you canuse 2 statements.)
l.) Print out the product of all the elements in x, the meanvalue of these elemnets and their srtandard deviation, and only 1statement is allowed.