Code covered by the BSD License  

Highlights from
sexy

4.54545

4.5 | 11 ratings Rate this file 11 Downloads (last 30 days) File Size: 1.53 KB File ID: #11150

sexy

by

 

22 May 2006 (Updated )

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

| Watch this File

File Information
Description

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.

Acknowledgements

This file inspired Equation Check and Latex Figure Output.

Required Products Symbolic Math Toolbox
MATLAB release MATLAB 7.2 (R2006a)
Other requirements Matlab version that supports 'latex' as a value to the 'interpreter' property of text objects.
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (13)
08 May 2013 Johannes Korsawe

Very useful and elegant.

20 Jul 2008 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.

20 Jul 2008 Vijay Desai

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

25 Jun 2008 M Prasad

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

06 Jul 2007 Claude Girard

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

26 Dec 2006 Brent Lewis

Great Code

26 Oct 2006 Yair Movshovitz

Nice....Nice

16 Aug 2006 Angie Blue

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

07 Jun 2006 Eric Rosenberg

Works fine, saved me from a typo.

04 Jun 2006 aza saza  
03 Jun 2006 arashf sadeghi  
01 Jun 2006 Roger Dufresne

A must to have for doing complicated math

24 May 2006 Rainer Merk  
Updates
24 May 2006

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

20 Aug 2012

Removed dead link in comments

Contact us