how to convert symbolic expression to function handle ?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I am using MATLAB R2008a . and I want to convert my symbolic expression to function handle to perform optimization upon it but I can not . I know that modern versions of MATLAB can use command matlabFunction to do that but my version does not support that. I want to ask if MATLAB R2009b supports that command . or what should I do with my MATLAB version to do this task??
0 Commenti
Risposte (1)
Walter Roberson
il 27 Giu 2012
In MATLAB R2008a, you must be using the Maple symbolic engine. Do you have just the Symbolic Toolbox, or the Extended Symbolic Toolbox as well? There are Maple methods for generating code, but it would take me some checking to figure out whether they were accessible from the regular toolbox.
R2009b used the MuPAD symbolic toolbox, so matlabFunction should (I think) be available in it.
0 Commenti
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!