f=[2, -5, -12, 30, 10];column=size(f);degree=column(2)-1;exponents=[degree:-1:0];deriv1=f.*exponentsderiv2=deriv1.*(exponents-1)
MATLAB: I’m a noob and the assignment is to create a derivative script without using the polyder function. I have this so far? Does anyone have a more efficient method because I want to learn to code efficiently from the start.
calculatorderivativehelpmathlabnoob
Best Answer