Streamline Symbolic Derivatives with MATLAB's Simplify Operation

  • Context: MATLAB 
  • Thread starter Thread starter ergospherical
  • Start date Start date
  • Tags Tags
    Matlab
Click For Summary

Discussion Overview

The discussion focuses on the use of MATLAB for computing symbolic derivatives and the effectiveness of its "simplify" operation. Participants explore the limitations of MATLAB in simplifying symbolic expressions compared to other software like Mathematica.

Discussion Character

  • Technical explanation, Debate/contested

Main Points Raised

  • One participant notes that while MATLAB produces correct symbolic derivatives, the outputs are often lengthy and lack simplification, even when simplifications seem apparent.
  • Another participant questions the effectiveness of MATLAB's "simplify" operation, suggesting it does not significantly reduce expression complexity.
  • Some participants propose Mathematica as an alternative, indicating it performs better for symbolic computation and may be preferable for those needing more effective simplification.
  • One participant asserts that Mathematica is superior for symbolic computation, while MATLAB is primarily designed for numerical computation.

Areas of Agreement / Disagreement

Participants express differing opinions on the effectiveness of MATLAB's simplification capabilities, with some favoring Mathematica for symbolic tasks. The discussion reflects multiple competing views regarding the best tools for symbolic computation.

Contextual Notes

Participants have not reached a consensus on the effectiveness of MATLAB's "simplify" operation, and there are unresolved comparisons between MATLAB and Mathematica regarding their capabilities in symbolic computation.

ergospherical
Science Advisor
Homework Helper
Education Advisor
Insights Author
Messages
1,100
Reaction score
1,387
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
How about mathematica?
 
  • Haha
  • Like
Likes   Reactions: ergospherical and Dale
jedishrfu said:
How about mathematica?
Actually works a lot better - might switch to this instead. Cheers!
 
  • Like
Likes   Reactions: jedishrfu
Mathematica is better if you need symbolic computation. MATLAB is more for numerical computation.
 
  • Like
Likes   Reactions: jedishrfu

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
7K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 5 ·
Replies
5
Views
5K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 45 ·
2
Replies
45
Views
6K
  • · Replies 5 ·
Replies
5
Views
12K
Replies
5
Views
8K
  • · Replies 19 ·
Replies
19
Views
2K