MATLAB: Is it possible to enter a mathematical expression/function as an input to a user defined function

MATLABmatlab function

Forexamples something in the lines of
function return_value = function_name( (f(x), 2nd paramaeter, 3rd paramter))
where f(x) could be a polynomial, trig, exponential function etc.

Best Answer

Yes, it's what function handles are meant for.