✅作者简介:热爱科研的Matlab仿真开发者,修心和技术同步精进,matlab项目合作可私信。
🍎个人主页:Matlab科研工作室
🍊个人信条:格物致知。
更多Matlab仿真内容点击👇
智能优化算法 神经网络预测 雷达通信 无线传感器 电力系统
信号处理 图像处理 路径规划 元胞自动机 无人机
⛄ 内容介绍
预警雷达是一种非常重要的技术,它可以及时发现并预警各种潜在的危险和威胁。它在军事、航空和气象等领域的应用已经得到了广泛的认可和使用。预警雷达的存在为我们提供了更安全和可靠的环境,对于保护人民的生命和财产具有重要意义。
⛄ 部分代码
function displayTargets(handles,mode)
placeLegend = 0;
switch mode
case 'in diffrent figure'
if ishandle(handles.targetsFigure)
if strcmp(get(handles.targetsFigure,'tag'),'targets')
figure(handles.targetsFigure);
else
handles.targetsFigure = figure('tag','targets');
end
else
handles.targetsFigure = figure('tag','targets');
end
hAxes = gca;
placeLegend = 1;
case 'in radar display'
hAxes = handles.miniDisplay;
end
hold (hAxes,'off');
h = [-1 ; -1];
for n=1:length(handles.Targets)
v = handles.Targets(n).v;
cor = handles.Targets(n).XY;
RCS = handles.Targets(n).RCS;
h(1) = quiver(hAxes,cor(1),cor(2),v(1),v(2),100,'color','b','linewidth',2,'marker','X','MarkerSize',5*RCS);
hold(hAxes,'on');
end
for n=1:length(handles.mountains)
cor = handles.mountains(n).XY;
h(2) = plot(hAxes,cor(1),cor(2),'^k','MarkerFaceColor','k');
hold(hAxes,'on');
end
plot(hAxes,0,0,'+g','MarkerSize',20,'LineWidth',5);
set(hAxes,'xlim',[-100 100]*1e3, 'ylim', [-100 100]*1e3);
axis (hAxes,'equal');
grid on;
set(hAxes,'layer','bottom');
ind = find(ishandle(h));
legendStr = {'Planes' ; 'Mountains'};
if placeLegend
plotDistLines(hAxes,8);
h=legend( h(ind), legendStr{ind} ,'FontSize',7,'boxoff' );
f = findobj(h,'type','text');
set(f,'FontSize',7);
else
plotDistLines(hAxes,6);
% removing the ticks...
set(hAxes,'xtick',[],'ytick',[]);
end
⛄ 运行结果
⛄ 参考文献
[1]张永贵,李航蔚,谢洪途.基于MATLAB的预警雷达探测性能仿真研究[J].通讯世界, 2018(9):2.DOI:CNKI:SUN:TXSJ.0.2018-09-200.