用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
来源:学生作业帮助网 编辑:作业帮 时间:2024/06/27 19:59:48
![用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](/uploads/image/z/3699798-6-8.jpg?t=%E7%94%A8matlab%E6%B1%82%E4%BA%8C%E9%87%8D%E7%A7%AF%E5%88%86%5B1%2Bcos%286%2Api%2Ax%2B8%2Api%2Ay%29%5D%2Aexp%28-j%2A2%2Api%2A%283%2Ax%2B4%2Ay%29%29%2C%E8%AF%95%E4%BA%86%E5%A5%BD%E5%A4%9A%E6%AC%A1%E8%B2%8C%E4%BC%BC%E9%83%BD%E6%9C%89%E9%94%99syms+x+y%3E%3E+double+%28int%28int%281%2Bcos%286%2Api%2Ax%2B8%2Api%2Ay%29%2Aexp%28-j%2A2%2Api%2A%283%2Ax%2B4%2Ay%29%29%2C-inf%2Cinf%29%2C-inf%2Cinf%29%29Warning%3ACould+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 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.
用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
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