createtargetobj.m

来自「this code invert number of a vector」· M 代码 · 共 21 行

M
21
字号
function targetObj = createTargetObj( pos, RCS, R, v, angle, plotted, clockWise, counterClockWise, hPlot, foundInTurn )
% function target = createTargetObj( pos, RCS, range, plotted, v, angle, clockWise,minAgnel)
% pos - target cordinate
% RCS - Radar Cross Section of the target
% R - target range (from radar)
% v - target velocity
% angle - target angle (to the radar)
% plotted - was this target plotted (new target wasn't plotted yet)
% max & min Agnle are the limits of angles in which the target was detected

targetObj = struct( 'pos'   , pos, ...
                    'RCS'   , RCS, ...
                    'R'     , R , ...
                    'plotted',plotted , ...
                    'v'     , v , ...
                    'angle' , angle, ...
                    'clockWise', clockWise, ...
                    'counterClockWise', counterClockWise, ...
                    'hPlot' ,   hPlot, ...
                    'foundInTurn', foundInTurn ...
                    );

⌨️ 快捷键说明

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