| Symbolic Math Toolbox | ![]() |
Prettyprint symbolic expressions
Syntax
Description
The pretty function prints symbolic output in a format that resembles typeset mathematics.
pretty(S) prettyprints the symbolic matrix S using the default line width of 79.
pretty(S,n) prettyprints S using line width n instead of 79.
Examples
A = [1, 1] [1, 2] B = [3/2+1/2*5^(1/2)] [3/2-1/2*5^(1/2)] [ 1/2 ] [ 3/2 + 1/2 5 ] [ ] [ 1/2 ] [ 3/2 - 1/2 5 ]
| poly2sym | procread | ![]() |