资源简介
一个很好的 雷达仿真界面实现 matlab 实现
很实用
代码片段和文件信息
function analyzBuffer(handlesrecievedSignalprocessedRecivedSignalenergyInRangeCellsPWnThrangeCellIndlocalMaxEnergy)
% function analyzBuffer(handlesrecievedSignalprocessedRecivedSignalenergyInRangeCellsPWnThrangeCellInd)
%
% This function will display the radars bufer content in seperate figures.
temp = get(handles.samplingRate‘string‘);
ind = get(handles.samplingRate‘value‘);
Fs = str2num( temp{ind} )*1e3 ; %Fs was entered in Khz
temp = get(handles.bufferSize‘string‘);
ind = get(handles.bufferSize‘value‘);
nPRI = str2num( temp{ind} ) ;
temp = get(handles.PRI‘string‘);
ind = get(handles.PRI‘value‘);
PRI = str2num( temp{ind} )/1e3 ; %PRI was entered in msec
isMatchFilterUsed = get(handles.useMatchFilter‘value‘);
%--------------------------------------------------------------------------------------
% plotting the time signal
figure(‘name‘‘Buffer Content‘);
subplot(211);
N = length(recievedSignal);
plot([0:N-1]/Fsabs(recievedSignal));
if isMatchFilterUsed
% if match filter is used - adding the signal after the match filter
% over the original recived signal
hold on;
semilogy([0:N-1]/Fsabs(processedRecivedSignal)‘g‘);
legend( {‘Recived Signal‘ ; ‘Signal after match Filter‘} );
else
legend( {‘Recived Signal‘} );
end
title(‘Buffer Content‘);
xlabel(‘[sec]‘); ylabel(‘volt (log scale)‘);
nRangeCells = length(energyInRangeCells);
if isMatchFilterUsed
subplot(212);
h1 = semilogy( [1:nRangeCells]/Fs/1e3*3e8/2 energyInRangeCells‘g‘ );
hold on;
h2 = semilogy( [1 nRangeCells]/Fs/1e3*3e8/2 [Th Th] ‘r‘);
temp = recievedSignal(rangeCellInd);
engCellsNoMatchFilter = sum( abs(temp).^22);
h3 = semilogy([PWn:nRangeCells]/Fs/1e3*3e8/2 engCellsNoMatchFilter(PWn:end)‘b‘);
legend([h3 h1 h2] {‘Signal in range cells‘ ; ‘Signal after match filter‘ ; ‘used Threshold‘} );
else
subplot(212);
h1 = semilogy( [1:nRangeCells]/Fs/1e3*3e8/2 energyInRangeCells‘b‘ );
hold on;
h2 = semilogy( [1 nRangeCells]/Fs/1e3*3e8/2 [Th Th] ‘r‘);
legend( {‘Signal in range cells‘ ; ‘Threshold‘} );
end
xlabel(‘Range Cells [Km]‘);
ylabel(‘volt^2 (log scale)‘);
%--------------------------------------------------------------------------------------
% plotting the Amplitude in range-cells
signalInRangeCells = processedRecivedSignal(rangeCellInd);
figure(‘name‘‘Amp in Range-Cells‘);
imagesc( [1:nRangeCells]/Fs*3e8/2/1e3 [1:nPRI]*PRI*1e3 log(abs(signalInRangeCells‘))/log(10));
ylabel(‘Time [msec] (PRI steps)‘);xlabel(‘Range Cells [Km]‘); title(‘Amplitude in range Cells (logarythmic scale)‘);
colorbar;
% plotting the Phase in range-cells
figure(‘name‘‘Phase in Range-Cells‘);
imagesc( [1:nRangeCells]/Fs*3e8/2/1e3[1:nPRI]*PRI*1e3 angle(signalInRangeCells‘));
ylabel(‘Time [msec] (PRI steps)‘);xlabel(‘Range Cells [Km]‘); title(‘Phase in range Cells‘);
colorbar;
if ~isempty(localMaxEnergy)
% plo
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1002 2008-02-19 02:15 RADAR_simulation\createTargetObj.m
文件 1459 2008-03-13 14:07 RADAR_simulation\createTargets.m
文件 97 2008-02-19 19:17 RADAR_simulation\dAngle.m
文件 1576 2008-03-07 21:05 RADAR_simulation\displayTargets.m
文件 536 2008-03-13 13:59 RADAR_simulation\handleRadarControlls.m
文件 816 2007-12-25 22:31 RADAR_simulation\MTIcalcVelocityFromFourier.m
文件 393 2008-03-13 14:05 RADAR_simulation\placeClutter.m
文件 462 2007-12-14 18:24 RADAR_simulation\plotDistLines.m
文件 1477 2008-03-14 02:13 RADAR_simulation\plotFOV.m
文件 911 2008-03-12 00:21 RADAR_simulation\plotTarget.m
文件 34303 2008-03-28 01:48 RADAR_simulation\radarSimulation.m
文件 23236 2008-04-05 23:53 RADAR_simulation\runRadarSim_v2.m
文件 1561 2008-02-29 15:20 RADAR_simulation\targetsReturn.m
文件 242176 2008-04-06 00:04 RADAR_simulation\Radar Simulation Instructions.doc
文件 14367 2008-03-15 12:27 RADAR_simulation\ociloscopeOff.JPG
文件 11197 2008-03-15 12:28 RADAR_simulation\ociloscopeOn.jpg
文件 11758 2008-03-15 12:29 RADAR_simulation\soundOff.JPG
文件 8549 2008-03-15 12:28 RADAR_simulation\soundOn.JPG
文件 725651 2008-03-28 11:39 RADAR_simulation\radarSimulation.fig
文件 3410 2008-03-11 18:26 RADAR_simulation\analyzBuffer.m
文件 1246 2008-03-11 18:26 RADAR_simulation\analyzBufferWithMTI.m
文件 799 2008-02-29 15:23 RADAR_simulation\buildAntenaGain.m
文件 326 2008-02-19 19:33 RADAR_simulation\calcDiffAngle.m
文件 546 2008-03-28 01:49 RADAR_simulation\changeGuiColors.m
目录 0 2009-10-24 20:25 RADAR_simulation
----------- --------- ---------- ----- ----
1087854 25
相关资源
- 自适应滤波-matlab完整程序
- 信号的捕获(直接序列扩频系统的m
- 雷达目标识别问题的MATLAB代码
- EKF机器人定位-MATLAB.m
- Matlab信号平滑处理-五点滑动平均法
- BPSK扩频误码率曲线MATLAB仿真
- 各种体制雷达信号MATLAB仿真
- matlab编写信道容量
- matlab2009a破解版链接
- id3算法实现
- The DIPUM Toolbox Version 2 m文件
- matlab图像处理算法
- 盒维数MATLAB计算程序
- 用GUI设计神经网络-matlab
- pHog纹理识别 matlab程序
- 金融风险VaR模型研究\\蒙特卡罗算法与
- 免疫算法MATLAB程序
- 小波变换进行语音增强的matlab代码
- MATLAB 计算空间桁架
- 蜂群算法源程序
- 如何用matlab绘制电机效率map图或发动
- 滑动平均值求解Matlab程序).txt
- 在matlab下,验证码识别部分,字符分
- matlab实现神经网络的数字识别,有训
- 字母识别,基于matlab的神经网络.zip
- 弹性光网络中的KSP-FF-RSA算法Matlab代码
- 基于matlab的DEABCC模型
- QC-LDPC码的校验矩阵构造
- zw_clud12345-7946299-matlab实现.zip
- matlab计算光栅衍射效率
评论
共有 条评论