MATLAB Answers

Derivate a function with two variable dependent of time

3 views (last 30 days)
Mechanical0970
Mechanical0970 on 12 May 2020
Edited: Mechanical0970 on 12 May 2020
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 Comments

Sign in to comment.

Answers (1)

Birdman
Birdman on 12 May 2020
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 Comments

Sign in to comment.