二元函数分次求值。

1 view (last 30 days)
f = inline('exp(x)+y.^3','x','y');
syms y;
m = f(2,y);
m(3)
%如题,主要是想把f(2,y)这个一元函数赋给另一个函数,再通过另一个函数求值。请教如何做到

Accepted Answer

新锦江娱乐APP下载【微8785092】
仅供参考
f = inline('exp(x)+y.^3','x','y');
m =@(y) f(2,y);
m(3)

More Answers (0)

Categories

Find more on Symbolic Math Toolbox in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!