二元函数分次求值。
1 view (last 30 days)
Show older comments
新锦江娱乐注册官网【微8785092】
on 21 May 2023
Answered: 新锦江娱乐APP下载【微8785092】
on 21 May 2023
f = inline('exp(x)+y.^3','x','y');
syms y;
m = f(2,y);
m(3)
%如题,主要是想把f(2,y)这个一元函数赋给另一个函数,再通过另一个函数求值。请教如何做到
0 Comments
Accepted Answer
新锦江娱乐APP下载【微8785092】
on 21 May 2023
仅供参考
f = inline('exp(x)+y.^3','x','y');
m =@(y) f(2,y);
m(3)
0 Comments
More Answers (0)
See Also
Categories
Find more on Symbolic Math Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!