How to use the feval() function to evaluate the two input argument functions?
12 ビュー (過去 30 日間)
古いコメントを表示
I need help with this homweork problem using feval(). I have tried using 'feval(xVal,denomFun(xVal))' but it keeps saying I am wrong. Thanks in advance.
0 件のコメント
回答 (1 件)
Walter Roberson
2018 年 1 月 26 日
The first argument to feval() needs to be the function to evaluate. You are trying to pass a value instead.
General syntax:
feval(Function_Information, parameter1, parameter2, ...)
For feval, the Function_Information can be a function handle, or an inline object, or a symbolic function (not a symbolic expression), or a scalar string object, or a character row vector (or some curvefit objects.)
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!