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.
1 view (last 30 days)
Show older comments
f=[2, -5, -12, 30, 10];
column=size(f);
degree=column(2)-1;
exponents=[degree:-1:0];
deriv1=f.*exponents
deriv2=deriv1.*(exponents-1)
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Stability Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!