Finding Matching Nested Parentheses in a String

4 views (last 30 days)
S H
S H on 6 Jun 2016
Edited: per isakson on 6 Jun 2016
If the location of a closed or opened parenthesis is known in a string, could you share a code that finds its matching parenthesis in forward or reverse direction of a general purpose equation that has many nested parentheses?

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!