formatting - How to diplay MATLAB output in readable format? -
i using matlab symbolic calculations.
give output of mathematical expressions in 1 line not readable
example-
>> syms x y z >> int(sin(y*cos(x)),y) >> ans = -cos(y*cos(x))/cos(x)
is there way readable output how read in text books.
use pretty
:
syms x y z s = int(sin(y*cos(x)),y); pretty(s)
Comments
Post a Comment