Effacer les filtres
Effacer les filtres

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

3 vues (au cours des 30 derniers jours)
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.

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Programming dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by