dft.m

来自「linear time-frequency toolbox」· M 代码 · 共 28 行

M
28
字号
function f=dft(f,N,dim);%DFT   Normalized Discrete Fourier Transform%   Usage: f=dft(f);%          f=dft(f,N,dim);%%   This function computes a normalized discrete Fourier transform. This%   is nothing but a scaled version of the output from FFT. The function%   take exactly the same arguments as FFT. See the help on FFT for a%   throurough description.%%   SEE ALSO:  IDFTerror(nargchk(1,3,nargin));if nargin<3  dim=1;end;if nargin==1  N=size(f,1);end;if isempty(N)  N=size(f,dim);end;f=fft(f,N,dim)/sqrt(N);

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?