I want pretty(x) to show more readable answers or a differnet function.
Show older comments
Hi! Thanks for your attention.
I'm using MATLAB to replace long formulas one into another. Finally I'm using pretty() to get a clearer result, but i got huge fractions and the final equation in unreadable. Do anybody know if is there any formula to get a more readable result? I'm attaching the code so you can verify what I mean. My english isn't good at all, so I expect you could have understood me.
Thanks !
Here goes the code.
syms s u w o n
W = ( ((1.997*s+0.665)+(174.868*s-1.6)*(s-7e-4)) * o / (s-7e-4) +...
(-0.0715-6.2940*(s-7e-4)) * n / (s-7e-4) ) /...
(s + 0.2953 + 3.16e-4/(s-7e-4) );
U = ( (4.6e-3) * W - (29.07*s+9.6783) * o + 1.0408 * n ) / ...
(s-7e-4);
N = ( (s^2+3.066e-1*s) * o + (8e-4*s+1.07e-2) * W - 1.7e-3 * U ) /...
(-4.8946);
pretty(N)
Accepted Answer
More Answers (0)
Categories
Find more on Software Development in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!