准备用下面方程算积分可是每次都提示我有问题。

y=T0*((A*x/E0)-B*(x/E0).^2).*(x<=E0)+(T0*(1-q)+(T0*(x/E0)/(b*(x/E0-1).^2+x/E0)).*(x>E0);
其中就x是变量,其他的都是常量
错误Incomplete or misformed expression or statement.
Error in ==> quadl at 64
y = feval(f,x,varargin{:}); y = y(:).';

 采纳的回答

bajon
bajon 2022-11-16

0 个投票

y=T0*((A*x/E0)-B*(x/E0).^2).*(x<=E0)+(T0*(1-q)+(T0*(x/E0)/(b*(x/E0-1).^2+x/E0))).*(x>E0);

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Extend Modeling Environment 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!