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.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeData Type Conversion についてさらに検索

製品

タグ

質問済み:

2013 年 12 月 24 日

回答済み:

2013 年 12 月 24 日

Community Treasure Hunt

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

Start Hunting!

Translated by