How to Differentiate a Function Handler Based on User Input
Afficher commentaires plus anciens
I would like to know how to differentiate or derive a function handler based on user input. I tried using diff but that doesn't work.
f = @(x) input
end
that's how i expect to get an input polynomial function from the user who run the program. I'm really new to matlab and now struggling to find the solution. Thanks for your answer.
3 commentaires
Ameer Hamza
le 6 Mai 2018
Can you tell what type of input can the user give?
Timothy Wibisono
le 6 Mai 2018
Ameer Hamza
le 6 Mai 2018
Refer to my answer below.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Calculus dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!