feval Execute function specified by a string. If fname is a string containing the name of a function then feval(fname,x1,...,xn) evaluates that function at the given arguments. For example, feval("cos",3.2) is the same as cos(3.2). The function to be evaluated can be built-in or user-defined.