Alternative to 'eval', 'evalc','feval' etc functions in the Cody solutions
Swapnali Gujar
le 28 Mar 2014
Dernière activité Réponse par Walter Roberson
le 28 Mar 2014
Why cody does not allow 'eval', 'evalc','feval' etc functions in the solutions? What is alternative to these functions?
e.g. I need to use:
if f='3*x'
x=0:10;
y=eval(vectorise(f))
so that values of y can be calculated as 3.*x
bt cody does not let us to use functions like eval
What is the alternative?
3 commentaires
Date décroissantestr2func() or inline()
Connectez-vous pour participer