Why the numerical values for function handle from matlabFunction should be written one by one?
2 次查看(过去 30 天)
显示 更早的评论
Hi guys,
I am now using matlabFunction for change a symbolic expression into a funtion handle.
I find a question like this: if I write the numeric values one by one to replace the symbolic variables like this:
then the answer can be obtained as 3.
However, if I write
F2= f( aa )
then, in the command window, it shows like this:
Could anyone help me about this question?
Thanks so much!
2 个评论
采纳的回答
madhan ravi
2018-12-12
编辑:madhan ravi
2018-12-12
Because your function requires three inputs but you fed in 1
f(aa(1),aa(2),aa(3))
6 个评论
madhan ravi
2018-12-13
Anytime :) , if you got the answer to your question make sure to accept the answer.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Whos 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!