matlab says the inline function will be removed in future release how should i execute a string function like '2*x.^2+5'
Show older comments
function
1 Comment
Stephen23
on 20 Jun 2017
How about using anonymous functions, just like the documentation recommends?
Accepted Answer
More Answers (1)
Andrei Bobrov
on 21 Jun 2017
syms y
f = matlabFunction(2*y^2+3);
Categories
Find more on Function Creation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!