t是参数,取对应一组值。
程序:
clear all;
syms x t
>> y=exp(-x.^2).*conj(exp(-(x+t).^2).*exp(-i.*2.*pi.*(192.31.*t+10.*x)));
>> a=-5:1:5;
>> y=subs(y,t,a);
>> int=int(y,x,-inf,inf);
Warning: Explicit integral could not be found.
求指教。。
实际想求的是这样一个积分(下面图片中的函数)
t取对应一组值。
程序clear all;
syms x t
>> y=exp(-x.^2).*conj(exp(-(x+t).^2).*exp(-i.*2.*pi.*(192.31.*t+10.*x)));
>> a=-5:1:5;
>> y=subs(y,t,a);
>> int=int(y,x,-inf,inf);
Warning: Explicit integral could not be found.
>> in=quad(y,x,-inf,inf);
??? Error using ==> fcnchk at 108
If FUN is a MATLAB object, it must have an feval method.
Error in ==> quad at 66
f = fcnchk(funfcn);
用符号积分和数值积分同样有错误。。
实际想求的是这样一个积分(下面图片中的函数)
t取对应一组值。
程序clear all;
syms x t
>> y=exp(-x.^2).*conj(exp(-(x+t).^2).*exp(-i.*2.*pi.*(192.31.*t+10.*x)));
>> a=-5:1:5;
>> y=subs(y,t,a);
>> int=int(y,x,-inf,inf);
Warning: Explicit integral could not be found.
>> in=quad(y,x,-inf,inf);
??? Error using ==> fcnchk at 108
If FUN is a MATLAB object, it must have an feval method.
Error in ==> quad at 66
f = fcnchk(funfcn);
用符号积分和数值积分同样有错误。。