コマンドウィンドウで時間微分するには・・・

12 次查看(过去 30 天)
nick
nick 2017-12-2
matlabのsymbolic math toolboxで時間微分したいときはどのようにコマンドを打ち込んだらいいのでしょうか? 例えば、rsinθ という関数を微分したときに, r dθ cosθ のように表現したいです。
  1 个评论
Walter Roberson
Walter Roberson 2017-12-3
Approximate translation:
When you want to differentiate time with matlab 's symbolic math toolbox, how do you input a command? For example, when differentiating the function r sin θ, I want to express it as r d θ cos θ.

请先登录,再进行评论。

回答(1 个)

Walter Roberson
Walter Roberson 2017-12-3
syms r theta
f(r,theta) = r * sin(theta)
diff(f, theta)

类别

Help CenterFile Exchange 中查找有关 微積分 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!