MATLAB symbolic derivatives not simplifying automatically

  • Context: MATLAB 
  • Thread starter Thread starter ergospherical
  • 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 · 5K views
Science Advisor
Homework Helper
Education Advisor
Insights Author
Messages
1,098
Reaction score
1,385
I am using MATLAB to compute a few symbolic derivatives. The outputs are correct (I've checked a few of them) but usually long and never simplified (even when "obvious" simplifications are possible, i.e. combining terms, cancelling things). Is there a way to get MATLAB to simplify symbolic expressions?

I found the "simplify" operation - doesn't seem to do much...
 
Physics news on Phys.org
jedishrfu said:
How about mathematica?
Actually works a lot better - might switch to this instead. Cheers!
 
Reply
  • Like
Likes   Reactions: jedishrfu
Mathematica is better if you need symbolic computation. MATLAB is more for numerical computation.
 
Reply
  • Like
Likes   Reactions: jedishrfu