timegen.m

来自「rang doppler imaging and motion compensa」· M 代码 · 共 22 行

M
22
字号
    function t = timegen(prf,m,n,mul)    %    % Generates the time coordinates for the given radar parameters.
    % t is a m by n matrix.
    % prf: Radar PRF.
    % m: Number of bursts.
    % n: Number of pulses in a burst.    %     thalf=m*n/2;    thalfm=thalf-1;    indexvec=-thalf+0.5:thalfm+0.5;    temp=reshape(indexvec,n,m).';    if nargin < 4    t=temp/prf;    end    if nargin == 4    t=temp/(mul*prf);    end

⌨️ 快捷键说明

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