matlab says the inline function will be removed in future release how should i execute a string function like '2*x.^2+5'
Afficher commentaires plus anciens
function
1 commentaire
Stephen23
le 20 Juin 2017
How about using anonymous functions, just like the documentation recommends?
Réponse acceptée
Plus de réponses (1)
Andrei Bobrov
le 21 Juin 2017
syms y
f = matlabFunction(2*y^2+3);
Catégories
En savoir plus sur Function Creation dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!