Calculating derivative of a function
3 views (last 30 days)
Show older comments
a=62;
b=95;
y = @(x) (3*x.^2.*sin(a*x))./(x.^2+b);
dy = diff(y)
I don't know exactly how i need to calculate the derivative correctly.
0 Comments
Accepted Answer
More Answers (1)
Torsten
on 5 Apr 2017
syms a b x
y = (3*x^2*sin(a*x))/(x^2+b);
dy = diff(y,x)
Best wishes
Torsten.
0 Comments
See Also
Categories
Find more on Symbolic Math Toolbox 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!