![]() |
调用函数时出现参数未定义
函数程序和错误如下 请高手指教
function tem=temperature(t,T) global ap Kpm R2 L Ctp Pp R1 Kmf R3 Ctm Pm Ctf M Pf U=240; T0=0; tem=[(U^2*exp(-ap*T(1))-Kpm*2*pi*R2*L*(T(1)-T(2)))/(Ctp*Pp*pi*L*(R1^2-R2^2));(Kpm*2*pi*R2*L*(T(1)-T(2))-Kmf*2*pi*R3*L*(T(2)-T(3)))/(Ctm*Pm*pi*L*(R2^2-R3^2));(Kmf*2*pi*R3*L*(T(2)-T(3))-Ctf*M*(T(3)-T0))/(Ctf*Pf*pi*L*R3^2);]; ??? Input argument 'T' is undefined. Error in ==> D:\MATLAB6p5\work\temperature.m On line 5 ==> tem=[(U^2*exp(-ap*T(1))-Kpm*2*pi*R2*L*(T(1)-T(2)))/(Ctp*Pp*pi*L*(R1^2-R2^2));(Kpm*2*pi*R2*L*(T(1)-T(2))-Kmf*2*pi*R3*L*(T(2)-T(3)))/(Ctm*Pm*pi*L*(R2^2-R3^2));(Kmf*2*pi*R3*L*(T(2)-T(3))-Ctf*M*(T(3)-T0) >> |
所有时间均为北京时间。现在的时间是 12:57。 |
Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.