www.gusucode.com > phased 案例源码 matlab代码程序 > phased/ProcessDataCubeUsingDPCAExample.m

    %% Process Data Cube Using DPCA
% Process a data cube using a DPCA processor. The weights are calculated
% for the 71st cell of the collected data cube. The look direction is _(0,0)_
% degrees and the Doppler shift is 12.980 kHz.
load STAPExampleData;
Hs = phased.DPCACanceller('SensorArray',STAPEx_HArray,...
    'PRF',STAPEx_PRF,...
    'PropagationSpeed',STAPEx_PropagationSpeed,...
    'OperatingFrequency',STAPEx_OperatingFrequency,...
    'WeightsOutputPort',true,...
    'DirectionSource','Input port',...
    'DopplerSource','Input port');
[y,w] = step(Hs,STAPEx_ReceivePulse,71,[0;0],12.980e3);

sAngDop = phased.AngleDopplerResponse(...
    'SensorArray',Hs.SensorArray,...
    'OperatingFrequency',Hs.OperatingFrequency,...
    'PRF',Hs.PRF,...
    'PropagationSpeed',Hs.PropagationSpeed);
plotResponse(sAngDop,w)