雷达多普勒频率计算(matlab)

雷达多普勒频率计算

代码来源:《雷达系统分析与设计(MATLAB版)(第三版)》

function [fd, tdr] = doppler_freq(freq, ang, tv)
% This function computes Doppler frequency and time dilation factor ratio(tau_prime / tau)
%% Inputs:
 % freq  == radar operating frequency in Hz
 % ang   == target aspect angle in degrees
 % tv    == target velocity in m/sec
%% Outputs:
 % fd    == Doppler frequency in Hz
 % tdr   == time dilation factor; unitless
% 
format long
indicator = input('Enter 1 for closing target, OR 2 for opening target \n');
c = 3.0e+8;
ang_rad = ang * pi / 180;
lambda = c / freq;
switch(indicator)
    case 1
        fd = 2.0 * tv * cos(ang_rad) / lambda;
        tdr = (c - tv) / (c + tv);
    case 2
        fd = -2.0 * tv * cos(ang_rad) / lambda;
        tdr = (c + tv) / (c - tv);
end
return

你可能感兴趣的:(雷达,matlab,开发语言)