matlab says the inline function will be removed in future release how should i execute a string function like '2*x.^2+5'
Ältere Kommentare anzeigen
function
1 Kommentar
Stephen23
am 20 Jun. 2017
How about using anonymous functions, just like the documentation recommends?
Akzeptierte Antwort
Weitere Antworten (1)
Andrei Bobrov
am 21 Jun. 2017
syms y
f = matlabFunction(2*y^2+3);
Kategorien
Mehr zu Function Creation finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!