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

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

xcode - Swift Playground - Files are not readable -

jboss7.x - JBoss AS 7.3 vs 7.4 and differences -