我有一個巨大的功能整合:爲什麼會出現這些錯誤? quad2d,dblquad
SYMS XY
F =(228155022448185 *(cos((2 * PI)* Y)./ EXP(。 131738205584307./(35184372088832*x))-1)*(cos((8. * pi)。* y)/ exp(131738205584307 ./(8796093022208 * x)) - 1)*(cos((8. * pi )*/exp(1185643850258763 ./(35184372088832. * x)) - 2))/((131738205584307 ./(8796093022208.x))+ cos((18. * pi)。* y)/ exp (18014398509481984. *(x。^ 2))。* exp(x。*((1981232555272083。*(y。^ 2))/ 2251799813685248 - y./16 + 1.16)))
我需要整合它(x:[0,inf)和y:[0,1]),但是我收到quad2d和dblquad的錯誤。
quad2d(quadfun,0,100,0,1)
??? Error using ==> quad2d>tensor at 350
Integrand output size does not match the input size.
Error in ==> quad2d at 164
[Qsub,esub] = tensor(thetaL,thetaR,phiB,phiT);
and
dblquad(quadfun,0,100,0,1)
??? Error using ==> dblquad>innerintegral at 74
Inputs must be floats, namely single or double.
Error in ==> quad at 76
y = f(x, varargin{:});
Error in ==> dblquad at 53
Q = quadf(@innerintegral, ymin, ymax, tol, trace, intfcn, ...
你能解釋爲什麼會出現這些錯誤嗎?我該如何解決它?
對不起,其實它是寫你提到但不知何故它們正在消失 – frwmetric