Filter löschen
Filter löschen

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

1 Ansicht (letzte 30 Tage)
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.

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Graphics Performance finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by