Short question! Matlab help! Its urgent please help if youre anexpert! Thanks! Pls follow the instructions as this qn is veryimportant.
Your function should take a vector of x values and return avector of the slopes, m. Notice that the length (m)= length(x)-1
At the top of your script file create an x vector over the range[-3,5] with 100 data points. Determine the corresponding y(x) andplot x vs y. Use your function to determine the derivative of y(x)using
OR
OR