Calculating derivative of a function
古いコメントを表示
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.
採用された回答
その他の回答 (1 件)
Torsten
2017 年 4 月 5 日
syms a b x
y = (3*x^2*sin(a*x))/(x^2+b);
dy = diff(y,x)
Best wishes
Torsten.
カテゴリ
ヘルプ センター および File Exchange で Symbolic Math Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!