function evalmpfit
Evaluate a function at specified x values
Syntax
result = evalmpfit(x, parameters, function)
Arguments
x: | The x-Values where to evaluate |
parameters: | The parameters of the function to be evaluated |
function: | A string describing the function to be evaluated |
Returns
A vector of same length as x with the function evaluated
Examples
y = evalmpfit(([1:100]-50)/10, [2.3,.2,.1], "a+b*x+c*x*x")