After trying to solve a symbolic mathematical problem, I got an expression with about 17,000 characters. I use the symbolic toolbox for Matlab, but I'm open to any suggestion (Mathematica, whatever).
For obvious reasons, I will not copy-paste the expression directly into the question. Here is the link instead .
Running Matlab
simplify
and simple
commands, and even collect
attempts did not improve the situation (some got worse).
But I wonder, I don't care if the expression is evaluated step by step, with time parameters. Sort of:
z1 = a^2*y1; %Now the expression can be simplified by using z1 as alias! z1+z1^2 ....
Is there an automatic way to get this step-by-step simplification using temporary variables? Also, any other method you can think of is plausible.
source share