No BSD License
-
radarSimulation(varargin)
RADARSIMULATION M-file for radarSimulation.fig
-
MTIcalcVelocityFromFourier(en...
vel = MTIcalcVelocityFromFourier(energyInFreqRangeCells,ind,freqRes,intermidateFreq,PRI)
-
analyzBuffer(handles,recieved...
function analyzBuffer(handles,recievedSignal,processedRecivedSignal,energyInRangeCells,PWn,Th,rangeCellInd)
-
analyzBufferWithMTI(handles,r...
function analyzBufferWithMTI(handles,recievedSignal,processedRecivedSignal,energyInFreqRangeCells,PWn,Th,freqInRangeCells,PRIn,rangeCellInd);
-
buildAntenaGain(handles)
antenaGain = buildAntenaGain(handles)
-
calcDiffAngle(a,b)
function dAngle = calcDiffAngle(a,b)
-
changeGuiColors( handles )
-
createTargetObj( pos, RCS, R,...
function target = createTargetObj( pos, RCS, range, plotted, v, angle, clockWise,minAgnel)
-
createTargets(hObject,handles...
handles = createTargets(hObject,handles);
-
dAngle(a,b)
-
displayTargets(handles,mode)
-
h=placeClutter(h,XY)
h=placeClutter(h,XY)
-
handleRadarControlls(handles,...
'persistentDisplay';
-
plotDistLines(h,fontSize);
-
plotFOV(handles,t,w,radarSect...
this function updates the radar display
-
plotTarget( target,handles)
This function plots a target in the radar display
-
runRadarSim_v2(handles)
function runRadarSim(handles,isAnalyzeBufferMode);
-
targetsReturn(targets, antena...
This function returns the time phase and amplitude of the return signal
-
View all files
from
RADAR simulation
by Yonathan Nativ
an early warning RADAR simulation
|
| plotFOV(handles,t,w,radarSector,maxDist,isPersistentDisplay)
|
function [handles] = plotFOV(handles,t,w,radarSector,maxDist,isPersistentDisplay)
% this function updates the radar display
% figure(handles.figure1);
% Deleting old targets (which the scan just past it)
radarAngle = mod(w*t, 2*pi);
deletedTargets = [];
N = length(handles.foundTargets);
for n = 1: N
dAngle = calcDiffAngle( radarAngle,handles.foundTargets(n).angle );
if dAngle < 2*radarSector && dAngle > 0
if ishandle(handles.foundTargets(n).hPlot)
if isPersistentDisplay
c = [0.6 0.3 0.3];
set(handles.foundTargets(n).hPlot,'color',c,'MarkerFaceColor',c);
handles.persistentPlotHandle = [handles.persistentPlotHandle handles.foundTargets(n).hPlot];
else
delete (handles.foundTargets(n).hPlot);
end
deletedTargets = [deletedTargets n];
end
end
end
handles.foundTargets(deletedTargets) = [];
if ~isPersistentDisplay && ~isempty( handles.persistentPlotHandle )
delete( handles.persistentPlotHandle );
handles.persistentPlotHandle = [];
end
if ishandle(handles.FOV)
delete(handles.FOV);
end
x = [0 cos(w*t)]*maxDist;
y = [0 sin(w*t)]*maxDist;
handles.FOV = plot(handles.radarDisplay,x,y,'g');
pause(0.0001); % To allow the GUI to response...
|
|
Contact us at files@mathworks.com