How can I extract variable from equation from gui

1 view (last 30 days)
I want to extract formula equation from user key-in in gui. for example a+a+b. The matlab will extract the variable a and b. and ask user to key in the value. the user can either key in the value or new equation. for example a= 2.

Answers (1)

Walter Roberson
Walter Roberson on 1 May 2013
symvar()

Tags

Products

Community Treasure Hunt

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

Start Hunting!