File Exchange

image thumbnail

sexy

version 1.2 (1.53 KB) by

Display a symbolic expression in a human readable form. Extension of the built-in pretty function.

4.54545
11 Ratings

4 Downloads

Updated

View License

If S is a symbolic expression, then sexy(S) opens a small figure window (message box really) displaying the expression S in a "human-like" form.

Requires the symbolic math toolbox.

Also requires that your Matlab release support 'latex' in the 'interpreter' property of text objects, I forget which was the first release that supported this.

Comments and Ratings (13)

Very useful and elegant.

Vijay Desai

Continuing with previous review:For the really long expressions, maybe we can break it up into a number of subexpressions and display them individually.

Vijay Desai

It is great for "medium" size expressions but doesn't work with long expressions

M Prasad

I find that for long expressions the msgbox isnt able to print the whole expression out. any ideas?

Claude Girard

Does its job well. And I like the irony in the name :)

Brent Lewis

Great Code

Yair Movshovitz

Nice....Nice

Angie Blue

Excellent tool, I have been looking for something like this. Thank you.

Eric Rosenberg

Works fine, saved me from a typo.

aza saza

arashf sadeghi

Roger Dufresne

A must to have for doing complicated math

Rainer Merk

Updates

1.2

Removed dead link in comments

Fixed:
Size of figure window.
Position of OK Button.

MATLAB Release
MATLAB 7.2 (R2006a)
Acknowledgements

Inspired: Equation Check, Latex Figure Output

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Win prizes and improve your MATLAB skills

Play today