Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

A problem of a Matlab programme

  1. Jul 8, 2006 #1
    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.
    Last edited: Jul 8, 2006
  2. jcsd
  3. Jul 8, 2006 #2


    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    Matlab does not do symbolic calculations, without the Symbolic Math Toolbox installed. Do you have that?

    - Warren
  4. Jul 8, 2006 #3
    Thank you.
    I find that I have the Symbolic Math Toolbox installed,I will have a try soon.
  5. Jul 9, 2006 #4
    I doubt that the Symbolic Math Toolbox is installed,and I doubt that Toolbox can solve my problem
  6. Jul 9, 2006 #5

    Attached Files:

    • 2.JPG
      File size:
      13.3 KB
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook