📄 pchirp.m
字号:
function g=pchirp(L,n)%PCHIRP Periodic chirp% Usage: g=pchirp(L,n);%% PCHIRP(L,n) returns a normalized, periodic, discrete chirp of length L% that revolves n times around the frequency plane in frequency. n must % be a whole number.%% To get a chirp that revolves around the frequency plane in time, use% % dft(pchirp(L,N)); % % The chirp is computed by:% % g(l+1) = exp(pi*i*n*l^2/L)/sqrt(L) for l=0,...,L-1% % REFERENCES:% H. G. Feichtinger, M. Hazewinkel, N. Kaiblinger, E. Matusiak, and% M. Neuhauser. Metaplectic operators on c^n. To appear, 2006.% % This program is free software: you can redistribute it and/or modify% it under the terms of the GNU General Public License as published by% the Free Software Foundation, either version 3 of the License, or% (at your option) any later version.% % This program is distributed in the hope that it will be useful,% but WITHOUT ANY WARRANTY; without even the implied warranty of% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the% GNU General Public License for more details.% % You should have received a copy of the GNU General Public License% along with this program. If not, see <http://www.gnu.org/licenses/>.error(nargchk(2,2,nargin));% Compute normalized chirpg=(exp((0:L-1).^2/L*pi*i*n)/sqrt(L)).';
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -