xufang19931217 发表于 1970-1-1 08:00:00

求MATLAB软件指导

我想用matlab算积分,但总是出问题。下面是我的操作页面,求指教。>> Ca0=302.94;Cb0=1.16;Cc0=0.76;Cd0=182.58;
>> R=8.314;T=633;K1=0.2095;K2=1.317;
>> k01=6.175*10^10;k02=4.721*10^10;
>> E1=102000;E2=96770;
>> k1=k01*exp(E1/(R*T));
>> k2=k02*exp(E2/(R*T));
>> a=0;b=0.46;d=0.46/100;
>> x=a:d:b;
>> s=quadl(inline('0.5*k1*{Ca0^2*(1-x)^2-/K1}+2*k2*'),0,0.46)
??? Error using ==> inline.feval at 23
Not enough inputs to inline function.

Error in ==> quadl at 70
y = feval(f,x,varargin{:}); y = y(:).';



页: [1]
查看完整版本: 求MATLAB软件指导