在matlab怎么执行傅立叶变换和傅立叶逆变换?我要傅立叶变换和傅立叶逆变换的程序.

来源:学生作业帮助网 编辑:作业帮 时间:2024/04/26 12:39:11

在matlab怎么执行傅立叶变换和傅立叶逆变换?
我要傅立叶变换和傅立叶逆变换的程序.

有这个函数,你找找帮助文件看看

查帮助文档!
傅立叶变换
integral transform SyntaxF = fourier(f)
F = fourier(f,v)
F = fourier(f,u,v)%%%%%%%%%%%%%%%%%%%%%%%3种函数形式
DescriptionF = fourier(f) is the Fourier transform of the symb...

全部展开

查帮助文档!
傅立叶变换
integral transform SyntaxF = fourier(f)
F = fourier(f,v)
F = fourier(f,u,v)%%%%%%%%%%%%%%%%%%%%%%%3种函数形式
DescriptionF = fourier(f) is the Fourier transform of the symbolic scalar f with default independent variable x. The default return is a function of w. The Fourier transform is applied to a function of x and returns a function of w. If f = f(w), fourier returns a function of t. By definition where x is the symbolic variable in f as determined by findsym. F = fourier(f,v) makes F a function of the symbol v instead of the default w. F = fourier(f,u,v) makes f a function of u and F a function of v instead of the default variables x and w, respectively. ExamplesFourier TransformMATLAB Commandf = exp(-x^2)fourier(f)returns pi^(1/2)*exp(-1/4*w^2)g = exp(-abs(w))fourier(g)returns2/(1+t^2)f = x*exp(-abs(x))fourier(f,u)returns-4*i/(1+u^2)^2*usyms x realf = exp(-x^2*abs(v))*sin(v)/vfourier(f,v,u)returns-atan((u-1)/x^2)+atan((u+1)/x^2)
傅立叶逆变换
ifourier Inverse Fourier integral transform Syntaxf = ifourier(F)
f = ifourier(F,u)
f = ifourier(F,v,u)
Descriptionf = ifourier(F) is the inverse Fourier transform of the scalar symbolic object F with default independent variable w. The default return is a function of x. The inverse Fourier transform is applied to a function of w and returns a function of x. If F = F(x), ifourier returns a function of t. By definition f = ifourier(F,u) makes f a function of u instead of the default x. Here u is a scalar symbolic object. f = ifourier(F,v,u) takes F to be a function of v and f to be a function of u instead of the default w and x, respectively.
ExamplesInverse Fourier TransformMATLAB
Command
syms a realf = exp(-w^2/(4*a^2))F = ifourier(f)F = simple(F)returnsa*exp(-x^2*a^2)/pi^(1/2)g = exp(-abs(x))ifourier(g)returns1/(1+t^2)/pif = 2*exp(-abs(w)) - 1simple(ifourier(f,t))returns-(-2+pi*Dirac(t))/(1+t^2)/pisyms w realf = exp(-w^2*abs(v))*sin(v)/vifourier(f,v,t)returns-1/2*(-atan((t+1)/w^2)+atan((-1+t)/w^2))/pi

收起

fft 快速傅立叶变换
ifft 反傅立叶变换