derivative in Matlab-Symbolic Toolbox
1 回表示 (過去 30 日間)
古いコメントを表示
Hello,
How can I get such a derivative in Matlab-Symbolic Toolbox ?
Well as the derived member x '.
y = sin(x)
y´=x´*cos(x)
Thank you for any help.
0 件のコメント
回答 (2 件)
Wayne King
2013 年 2 月 18 日
編集済み: Wayne King
2013 年 2 月 18 日
syms x
y = sin(2*pi*x);
diff(y)
% returns
% 2*pi*cos(2*pi*x)
In your example, the derivative of sin(x) with respect to x is not
x*cos(x), it's just cos(x)
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Number Theory についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!