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

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 ExchangeExtend Modeling Environment についてさらに検索

タグ

質問済み:

2022 年 11 月 16 日

回答済み:

2022 年 11 月 16 日

Community Treasure Hunt

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

Start Hunting!