tfdshift.m

来自「分数阶Fourier变换程序」· M 代码 · 共 20 行

M
20
字号
function out = tfdshift(in)% tfdshift -- Shift the spectrum of a TFD by pi radians.%%  Usage%    out = tfdshift(in)%%  Inputs%    in   time-frequency distribution%%  Outputs%    out  shifted time-frequency distribution% Copyright (C) -- see DiscreteTFDs/Copyrighterror(nargchk(1, 1, nargin));N = size(in, 1);M = ceil(N/2);out = [in(M+1:N,:) ; in(1:M,:)];

⌨️ 快捷键说明

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