Derivate a function with two variable dependent of time
조회 수: 1 (최근 30일)
이전 댓글 표시
hello,
I have the funtion f( r(t) , theta(t) )= r^2 + 0.2cos(theta) -0.03 =0 .
My question how can I define a function to derive f respect to t .
I appreciate any help.
댓글 수: 0
답변 (1개)
Birdman
2020년 5월 12일
The following might help:
syms r(t) theta(t) f(r,theta)
f=r^2+0.2*cos(theta)-0.03
To take partial derivative, use functionalDerivative:
functionalDerivative(f,r)
or
functionalDerivative(f,theta)
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!