Matlab计算中fzero函数调用变量问题 5
我上面已经定义了a2=19.26,b=0.0025Ta是通过式子算出来的,但是n1=fzero('x-1-8.315/(a2*b*Ta*1+s^(x-1)))但是出现了以...
我上面已经定义了a2=19.26,b=0.0025Ta是通过式子算出来的,但是n1=fzero('x-1-8.315/(a2*b*Ta*1+s^(x-1)))但是出现了以下错误
??? Error using ==> fzero at 307
FZERO cannot continue because user supplied expression ==> x-1-8.315/(@(a2)+@(b)*@(Ta)*(1+@(s)^(x-1)))
failed with the error below.
Error in inline expression ==> x-1-8.315/(@(a2)+@(b)*@(Ta)*(1+@(s)^(x-1)))
Error: Unexpected MATLAB operator.
Error in ==> Untitled at 10
n1=fzero('x-1-8.315/(@(a2)+@(b)*@(Ta)*(1+@(s)^(x-1)))',1.4); 展开
??? Error using ==> fzero at 307
FZERO cannot continue because user supplied expression ==> x-1-8.315/(@(a2)+@(b)*@(Ta)*(1+@(s)^(x-1)))
failed with the error below.
Error in inline expression ==> x-1-8.315/(@(a2)+@(b)*@(Ta)*(1+@(s)^(x-1)))
Error: Unexpected MATLAB operator.
Error in ==> Untitled at 10
n1=fzero('x-1-8.315/(@(a2)+@(b)*@(Ta)*(1+@(s)^(x-1)))',1.4); 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询