早教吧作业答案频道 -->其他-->
用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 closeto the
题目详情
用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求二重积分[1...的网友还看了以下:
线性代数内积已知:f属于span{1,sin(x),cos(x)},=1/pi(积分f(x)g(x 2020-04-26 …
matlab解中学三角函数方程数学题,不会求大大~~~~~~~~~~[a,b,c,A,B,C]=s 2020-05-14 …
matlab程序如下,不知道哪里出错了,说矩阵维数不符合x=1:10;z=asin(sin(x). 2020-05-14 …
matlab求积分,上下限为字母syms i I af2=i./2*log(2*I-i.*(1-c 2020-05-16 …
as3扇形画法publicfunctiondrawSector(){//this.graphics 2020-05-16 …
matlab rotate程序求大神修改t=0:pi/1000:3.5*pi;k=fix(2*t/ 2020-05-17 …
有人可以用高斯的方法解出cos(2pi/17)的吗?RT解成分数的形式就可以了~如果可以的话可不可 2020-05-17 …
n=0:127;x=cos(0.04*pi*n)+cos(0.08*pi*n)+cos(0.4*p 2020-06-12 …
为什么离散型周期信号的周期必须是整数?如序列:f(k)=cos(5pi/6+pi/12)的周期是1 2020-07-11 …
已知cos(阿二发、贝它)=-4/5,sin(阿二发+贝它)=-3/5,阿二发减贝它属于(二分之派, 2020-11-08 …