fun1=@(x,y,z)log((x^2+y^2+z^2);g=triplequad(fun1,90,110,50,70,20,40)Error using ==> mpowerInputs must be a scalar and a square matrix.Error in ==> @(x,y,z)log(x^2+y^2+z^2)Error in ==> quad at 77y = f(x,varargin{:});Error in ==> triplequad>innerintegr
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/20 05:07:28
fun1=@(x,y,z)log((x^2+y^2+z^2);g=triplequad(fun1,90,110,50,70,20,40)Error using ==> mpowerInputs must be a scalar and a square matrix.Error in ==> @(x,y,z)log(x^2+y^2+z^2)Error in ==> quad at 77y = f(x,varargin{:});Error in ==> triplequad>innerintegr
fun1=@(x,y,z)log((x^2+y^2+z^2);g=triplequad(fun1,90,110,50,70,20,40)
Error using ==> mpowerInputs must be a scalar and a square matrix.
Error in ==> @(x,y,z)log(x^2+y^2+z^2)
Error in ==> quad at 77y = f(x,varargin{:});
Error in ==> triplequad>innerintegral at 69 Q(i) = quadf(intfcn,xmin,xmax,tol,trace,y(i),z,varargin{:});
Error in ==> dblquad>innerintegral at 80fcl = intfcn(xmin,y(1),varargin{:}); %evaluate only to get the class below
Error in ==> quad at 77y = f(x,varargin{:});
Error in ==> dblquad at 60Q = quadf(@innerintegral,ymin,ymax,tol,trace,intfcn,...
Error in ==> triplequad at 53Q = dblquad(@innerintegral,ymin,ymax,zmin,zmax,tol,quadf,intfcn,...
fun1=@(x,y,z)log((x^2+y^2+z^2);g=triplequad(fun1,90,110,50,70,20,40)Error using ==> mpowerInputs must be a scalar and a square matrix.Error in ==> @(x,y,z)log(x^2+y^2+z^2)Error in ==> quad at 77y = f(x,varargin{:});Error in ==> triplequad>innerintegr
矩阵运算要在运算符前加点的.
问题是什么啊