How to Differentiate a Function Handler Based on User Input
显示 更早的评论
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 个评论
Ameer Hamza
2018-5-6
Can you tell what type of input can the user give?
Timothy Wibisono
2018-5-6
Ameer Hamza
2018-5-6
Refer to my answer below.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Calculus 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!