MATLAB Streamline Symbolic Derivatives with MATLAB's Simplify Operation

  • Thread starter Thread starter ergospherical
  • Start date Start date
  • Tags Tags
    Matlab
AI Thread Summary
MATLAB users often encounter challenges with symbolic derivatives, particularly with lengthy outputs that lack simplification. While the "simplify" function exists in MATLAB, users report it may not effectively condense expressions as expected. Comparisons with Mathematica reveal that Mathematica performs better in symbolic computations, offering more efficient simplification of expressions. Users considering a switch to Mathematica highlight its superior capabilities for symbolic tasks, contrasting MATLAB's focus on numerical computations.
ergospherical
Science Advisor
Homework Helper
Education Advisor
Insights Author
Messages
1,097
Reaction score
1,384
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!
 
Mathematica is better if you need symbolic computation. MATLAB is more for numerical computation.
 

Similar threads

Replies
6
Views
2K
Replies
10
Views
3K
Replies
3
Views
3K
Replies
5
Views
5K
Replies
4
Views
2K
Replies
45
Views
5K
Replies
5
Views
12K
Back
Top