FEATool  v1.7
Finite Element Analysis Toolbox
 All Files Functions Pages
findparblock.m File Reference


FINDPARBLOCK Find parenthesis blocks.

[ IP, SP ] = FINDPARBLOCK( S, I_EXCLUDE ) Finds parenthesis blocks. Returns IP with index >0 for those characters in S contined in parentheses (including parentheses pairs). If the optional argument I_EXCLUDE is >0 then parenthesis with the preceeding functions and operators ^, /, sin, cos, tan, exp, log, log2, sqrt, and log10 will be excluded.