For example I make a GUIDE to find the derivative of a function ? I make a edit text (with tag is edit1) to type a function input. And a static text (with tag is text1) to output the derivative of function. Normally, if I type a number in edit text, I use the str2double or str2num(get(handles.edit1,'string')) to convert the number to string. But now I type a functions (Ex: x^2 + x +1) in edit text, How can I convert the string to a function. Similarly, How can I convert a funtions (ExL 2x + 1) to string to set it in the static text. Help me. Thank you very much.

More Answers (0)

Categories

Products

Tags

Asked:

on 24 Dec 2013

Answered:

on 24 Dec 2013

Community Treasure Hunt

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

Start Hunting!