matlab says the inline function will be removed in future release how should i execute a string function like '2*x.^2+5'
Mostra commenti meno recenti
function
1 Commento
Stephen23
il 20 Giu 2017
How about using anonymous functions, just like the documentation recommends?
Risposta accettata
Più risposte (1)
Andrei Bobrov
il 21 Giu 2017
syms y
f = matlabFunction(2*y^2+3);
Categorie
Scopri di più su Function Creation in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!