Hi,I have a problem in Matlab programme,I want to calculate the derivative of a expression by matlab,but there are some abstract functions in that expression.(adsbygoogle = window.adsbygoogle || []).push({});

for example:f=R(t)*cos(t),I want calculate d=diff(f,t),but I don't know how to deal with the abstract function R(t),I hope I can get this kind of result:d=dRt*cos(t)-R*sin(t),but how should I design the programme?

thank you for your help.

neptunecs.

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# A problem of a Matlab programme

**Physics Forums | Science Articles, Homework Help, Discussion**