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

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일

2 개 추천

syms r theta
f(r,theta) = r * sin(theta)
diff(f, theta)

카테고리

질문:

2017년 12월 2일

답변:

2017년 12월 3일

Community Treasure Hunt

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

Start Hunting!