A problem of a Matlab programme

  • Context: MATLAB 
  • Thread starter Thread starter neptunecs
  • Start date Start date
  • Tags Tags
    Matlab
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
4 replies · 4K views
neptunecs
Messages
14
Reaction score
0
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.
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.
 
Last edited:
Physics news on Phys.org
chroot said:
Matlab does not do symbolic calculations, without the Symbolic Math Toolbox installed. Do you have that?

- Warren
Thank you.
I find that I have the Symbolic Math Toolbox installed,I will have a try soon.
 
I doubt that the Symbolic Math Toolbox is installed,and I doubt that Toolbox can solve my problem
 

Attachments

  • 2.JPG
    2.JPG
    13.1 KB · Views: 693