No BSD License  

Highlights from
parse_equation

Be the first to rate this file! 0 Downloads (last 30 days) File Size: 2 KB File ID: #6068

parse_equation

by Kent Conover

 

18 Oct 2004 (Updated 20 Oct 2004)

Graphically analyses the parenthesis structure of formulae in expressed in simple text.

| Watch this File

File Information
Description

Produces a graphical analysis of the parenthetic sructure of a equation. In addition, a text string suitable for revising the equation is also generated.

eg:
IF
>>eqt = 't = a+(b-a)*(10^(g*(x-h)))';

THEN
>> parse_equation(eqt);
ed_string =
eqt = 't = a+(b-a)*(10^(g*(x-h)))'
outxt =
                    
                /---\ /------------\
                | | | /-------\|
                | | | | /---\||
          t = a+(b-a)*(10^(g*(x-h)))
>>

MATLAB release MATLAB 7.0.1 (R14SP1)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
text equation formula parentheses brackets Kent Conover 22 Oct 2008 07:33:15

Contact us at files@mathworks.com