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

1 次查看(过去 30 天)
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.

采纳的回答

Matt J
Matt J 2013-11-28
Yes, it's what function handles are meant for.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Graphics Performance 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by