How to Differentiate a Function Handler Based on User Input
Show older comments
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 Comments
Ameer Hamza
on 6 May 2018
Can you tell what type of input can the user give?
Timothy Wibisono
on 6 May 2018
Ameer Hamza
on 6 May 2018
Refer to my answer below.
Accepted Answer
More Answers (0)
Categories
Find more on Calculus in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!