用matlab求二重积分[1+cos(6*pi*x+8*pi*y)]*exp(-j*2*pi*(3*x+4*y)),试了
来源:学生作业帮 编辑:大师作文网作业帮 分类:综合作业 时间:2024/11/11 17:54:20
用matlab求二重积分[1+cos(6*pi*x+8*pi*y)]*exp(-j*2*pi*(3*x+4*y)),试了好多次貌似都有错
syms x y
>> double (int(int(1+cos(6*pi*x+8*pi*y)*exp(-j*2*pi*(3*x+4*y)),-inf,inf),-inf,inf))
Warning:Could not attach the property of being close
to the limit point to limit variable [limit]
Warning:Explicit integral could not be found.
Error using ==> mupadmex
Error in MuPAD command:DOUBLE cannot convert the
input expression into a double array.
syms x y
>> double (int(int(1+cos(6*pi*x+8*pi*y)*exp(-j*2*pi*(3*x+4*y)),-inf,inf),-inf,inf))
Warning:Could not attach the property of being close
to the limit point to limit variable [limit]
Warning:Explicit integral could not be found.
Error using ==> mupadmex
Error in MuPAD command:DOUBLE cannot convert the
input expression into a double array.
function f=fun(x,y)
f=1+cos(6*pi.*x+8*pi.*y).*exp(-j*2*pi*(3.*x+4.*y));
end
>> f=@(x,y) fun(x,y);
Q=dblquad(f,0,2*pi,0,2*pi)
Q =
59.2170 - 0.0001i
>> f=@(x,y)fun(x,y);
Q=dblquad(f,-inf,inf,-inf,inf)
Q =
NaN + NaNi
f=1+cos(6*pi.*x+8*pi.*y).*exp(-j*2*pi*(3.*x+4.*y));
end
>> f=@(x,y) fun(x,y);
Q=dblquad(f,0,2*pi,0,2*pi)
Q =
59.2170 - 0.0001i
>> f=@(x,y)fun(x,y);
Q=dblquad(f,-inf,inf,-inf,inf)
Q =
NaN + NaNi
matlab中为什么y=2*exp(-0.5*x)*cos(4*pi*x)会报错
matlab中y=(0.5+3.*sin(x*pi/180)./(1+x^2)).*cos(x*pi/180);哪里错了
用matlab求下面的方程,y=a*exp[-pi*(x-b)^2/c^2]+ d*exp[-pi*(x-e)2/f^2
matlab里 *和.*的区别.比如这个式子,y=2*exp(-0.5*x).*cos(4*pi*x).
matlab三维图程序:[X,Y]=meshgrid([200:2:300],[-pi/4:pi/100:pi/4]);
y=sin(2x+Pi/3)+cos(Pi/6-2x)周期为
matlab画y=4*exp(-x)*sin(2*pi*x)的曲线
y=cos(-pi/2x+pi/2)等于什么
用matlab ,画z=0.0008*(x+1+2*exp(-(n*pi/x).^2*y*1000))/x
matlab中如何画图!x=-pi:0.1:pi; y=cos(x)/cos(2*x);plot(x.y)
(sin(x)*cos(x))^(1/3)',x,-pi,pi))求积分的matlab程序!
matlab,matlab如何画出 y=x-atan(3/x)^36*2/pi*x-atan(x/3)^35*6/pi;