⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fmat.m

📁 JLAB is a set of Matlab functions I have written or co-written over the past fifteen years for the p
💻 M
字号:
function[f]=fmat(N,dt)%FMAT  Unitary Fourier transform matrix%%   F=FMAT(N) returns a matrix an NxN matrix F such that the matrix%   multiplication Y=F*X for X another NxN matrix returns a matrix Y%   which is the unitary Fourier transform of X.  F' performs the%   inverse Fourier transform.  %   _________________________________________________________________%   This is part of JLAB --- type 'help jlab' for more information%   (C) 2004 J.M. Lilly --- type 'help jlab_license' for details        if nargin==1  dt=1;endT=N*dt;f=zeros(N);index=[1:length(f(:))]';[ii,jj]=ind2sub(size(f),index);f(index)=frac(1,sqrt(N)).*exp(-2*pi*sqrt(-1).*(dt./T).*(ii-1).*(jj-1)); 

⌨️ 快捷键说明

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