matlab says the inline function will be removed in future release how should i execute a string function like '2*x.^2+5'
Mostrar comentarios más antiguos
function
1 comentario
Stephen23
el 20 de Jun. de 2017
How about using anonymous functions, just like the documentation recommends?
Respuesta aceptada
Más respuestas (1)
Andrei Bobrov
el 21 de Jun. de 2017
syms y
f = matlabFunction(2*y^2+3);
Categorías
Más información sobre Function Creation en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!