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) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -