MATLAB中求积分问题clear>> integrnd=@(x,y)0.2139*besselj(0,0.481*x)*cos(0.1465*y)*1.602*10^-9*y*0.2376*besselj(1,0.7710*x)*sin(0.2931*y);>> xmin=-5;>> xmax=5;>> ymin=-10;>> ymax=10;>> result=dblquad(integrnd,xmin,xmax,ymin,ymax);Error using ==>

来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/25 14:49:37
MATLAB中求积分问题clear>>integrnd=@(x,y)0.2139*besselj(0,0.481*x)*cos(0.1465*y)*1.602*10^-9*y*0.2376*besse

MATLAB中求积分问题clear>> integrnd=@(x,y)0.2139*besselj(0,0.481*x)*cos(0.1465*y)*1.602*10^-9*y*0.2376*besselj(1,0.7710*x)*sin(0.2931*y);>> xmin=-5;>> xmax=5;>> ymin=-10;>> ymax=10;>> result=dblquad(integrnd,xmin,xmax,ymin,ymax);Error using ==>
MATLAB中求积分问题
clear
>> integrnd=@(x,y)0.2139*besselj(0,0.481*x)*cos(0.1465*y)*1.602*10^-9*y*0.2376*besselj(1,0.7710*x)*sin(0.2931*y);
>> xmin=-5;
>> xmax=5;
>> ymin=-10;
>> ymax=10;
>> result=dblquad(integrnd,xmin,xmax,ymin,ymax);
Error using ==> mtimes
Inner matrix dimensions must agree.
Error in ==> quad at 62
y = f(x,varargin{:});
Error in ==> dblquad>innerintegral at 88
Q(i) = feval(quadf,intfcn,xmin,xmax,tol,trace,y(i),varargin{:});
Error in ==> quad at 62
y = f(x,varargin{:});
Error in ==> dblquad at 64
Q = feval(quadf,@innerintegral,ymin,ymax,tol,trace,intfcn,...

MATLAB中求积分问题clear>> integrnd=@(x,y)0.2139*besselj(0,0.481*x)*cos(0.1465*y)*1.602*10^-9*y*0.2376*besselj(1,0.7710*x)*sin(0.2931*y);>> xmin=-5;>> xmax=5;>> ymin=-10;>> ymax=10;>> result=dblquad(integrnd,xmin,xmax,ymin,ymax);Error using ==>
将命令改成这样,就可以了.
integrnd=@(x,y)0.2139*besselj(0,0.481.*x).*cos(0.1465.*y)*1.602*10^-9*y*0.2376.*besselj(1,0.7710.*x).*sin(0.2931.*y);
result=dblquad(integrnd,-5,5,-10,10)
result =
1.0608e-025 +4.9360e-025i

MATLAB中求积分问题clear>> integrnd=@(x,y)0.2139*besselj(0,0.481*x)*cos(0.1465*y)*1.602*10^-9*y*0.2376*besselj(1,0.7710*x)*sin(0.2931*y);>> xmin=-5;>> xmax=5;>> ymin=-10;>> ymax=10;>> result=dblquad(integrnd,xmin,xmax,ymin,ymax);Error using ==> 在问题‘matlab求带参数的积分,符号积分解不出,用数值积分怎么搞’中,如果用quad应该怎么做? matlab 中 clc 与 clear的差别 在matlab中怎样求带有参数的定积分 在MATLAB中怎么求表达式的积分? MATLAB中如何求2元积分方程 MATLAB中求Y=F(X)数值积分 matlab 中对矩阵积分 大学工科数学中求积分问题 matlab中关于int积分问题代码如下:clear;for delta=0:0.5:3;sigma1=0.5;sigma2=0.5+delta;x=-50:1:50;M=int(4.*x.*exp((-2).*(x.^2)).*log(4.*x.*exp((-2).*(x.^2))/(x/(0.5+sigma2).^2.*exp((-0.5).(x.^2)/(0.5+sigma2).^2))));plot(x,M);grid on;endrun 关于matlab求积分的问题一个二重定积分,积分函数是√(1-x^2),积分域为x^2+y^2 matlab中clear什么意思为什么运算前面要加clear? matlab中syms arg1 arg2 ... clear是什么意思 把clear换成positive又是什么意思 求一题Matlab,数值积分中对梯形求积分,求数值积分∫sin(x)dx,积分区域为(0,pi) 问一个MATLAB绘制二元三维曲线的问题啊我现在求这个函数z=arctan(sin(r*sin(x))*tan(y))中z随着x和y的值的变化求z的曲线图,然后我按照MATLAB书上的例子自己写了这个程序:clear;close all;x=0:0.01:240;y=0:0. matlab中 内部矩阵维度问题源程序为clc;clear; x=[100110120130140.1150160.1170180190.2200210.1220230240250260270280290300310320330340350360369.9380390400]; y=[1.531.551.571.591.591.611.61.61.61.591.581.441.421.41.381.361.341.311.281.261.231 matlab中积分函数都有哪些 怎么在matlab中求解积分,