雷达通信基于matlab雷达仿真模拟系统含Matlab源码 150期
Posted 紫极神光
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了雷达通信基于matlab雷达仿真模拟系统含Matlab源码 150期相关的知识,希望对你有一定的参考价值。
一、获取代码方式(附课程作业报告)
获取代码方式1:
完整代码已上传我的资源:【雷达通信】基于matlab雷达仿真模拟系统【含Matlab源码 150期】
获取代码方式2:
通过订阅紫极神光博客付费专栏,凭支付凭证,私信博主,可获得此代码。
备注:
订阅紫极神光博客付费专栏,可免费获得1份代码(有效期为订阅日起,三天内有效);
二、部分源代码
function varargout = radarSimulation(varargin)
% RADARSIMULATION M-file for radarSimulation.fig
% RADARSIMULATION, by itself, creates a new RADARSIMULATION or raises the existing
% singleton*.
%
% H = RADARSIMULATION returns the handle to a new RADARSIMULATION or the handle to
% the existing singleton*.
%
% RADARSIMULATION('CALLBACK',hObject,eventData,handles,...) calls the local
% function named CALLBACK in RADARSIMULATION.M with the given input
% arguments.
%
% RADARSIMULATION('Property','Value',...) creates a new RADARSIMULATION or raises the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before radarSimulation_OpeningFunction gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to radarSimulation_OpeningFcn via varargin.
%
% *See GUI Options on GUIDE's Tools menu. Choose "GUI allows only one
% instance to run (singleton)".
%
% See also: GUIDE, GUIDATA, GUIHANDLES
% Last Modified by GUIDE v2.5 15-Mar-2021 11:30:35
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @radarSimulation_OpeningFcn, ...
'gui_OutputFcn', @radarSimulation_OutputFcn, ...
'gui_LayoutFcn', [] , ...
'gui_Callback', []);
if nargin && ischar(varargin1)
gui_State.gui_Callback = str2func(varargin1);
end
if nargout
[varargout1:nargout] = gui_mainfcn(gui_State, varargin:);
else
gui_mainfcn(gui_State, varargin:);
end
% End initialization code - DO NOT EDIT
% --- Executes just before radarSimulation is made visible.
function radarSimulation_OpeningFcn(hObject, eventdata, handles, varargin)
% This function has no output args, see OutputFcn.
% hObject handle to figure
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% varargin command line arguments to radarSimulation (see VARARGIN)
% Choose default command line output for radarSimulation
handles.output = hObject;
handles.FOV = [];
handles.mountains = [];
handles.IF_Freq = 3e7;
handles.currentTime = 0;
handles.targetsFigure = [];
handles.Targets = [];
handles.pulseNum = 0;
handles.plotedTargets = [];
plotDistLines(handles.radarDisplay,10);
PW_Callback(handles.PW, eventdata, handles); % updating the current PW value
% Update handles structure
guidata(hObject, handles);
reset_Callback(hObject, eventdata, handles)
% UIWAIT makes radarSimulation wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = radarSimulation_OutputFcn(hObject, eventdata, handles)
% varargout cell array for returning output args (see VARARGOUT);
% hObject handle to figure
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Get default command line output from handles structure
varargout1 = handles.output;
function PRI_Callback(hObject, eventdata, handles)
% hObject handle to PRI (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: get(hObject,'String') returns contents of PRI as text
% str2double(get(hObject,'String')) returns contents of PRI as a double
% --- Executes during object creation, after setting all properties.
function PRI_CreateFcn(hObject, eventdata, handles)
% hObject handle to PRI (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: edit controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc
set(hObject,'BackgroundColor','white');
else
set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
end
function ZSA_Callback(hObject, eventdata, handles)
% hObject handle to ZSA (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: get(hObject,'String') returns contents of ZSA as text
% str2double(get(hObject,'String')) returns contents of ZSA as a double
% --- Executes during object creation, after setting all properties.
function ZSA_CreateFcn(hObject, eventdata, handles)
% hObject handle to ZSA (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: edit controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc
set(hObject,'BackgroundColor','white');
else
set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
end
% --- Executes on slider movement.
function PW_Callback(hObject, eventdata, handles)
percent = get(hObject,'value');
str = ['PW = ' num2str(percent*100) '% of the PRI'];
set(handles.PWstr,'string',str);
% hObject handle to PW (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: get(hObject,'Value') returns position of slider
% get(hObject,'Min') and get(hObject,'Max') to determine range of slider
% --- Executes during object creation, after setting all properties.
function PW_CreateFcn(hObject, eventdata, handles)
% hObject handle to PW (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: slider controls usually have a light gray background, change
% 'usewhitebg' to 0 to use default. See ISPC and COMPUTER.
usewhitebg = 1;
if usewhitebg
set(hObject,'BackgroundColor',[.9 .9 .9]);
else
set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
end
% --- Executes on button press in run.
function run_Callback(hObject, eventdata, handles)
switch get(hObject,'string')
case 'Pause'
set(hObject,'string', 'Continue','value',0);
return;
case 'Start'
handles.currentTime = 0;
handles = createTargets(hObject,handles);
set(hObject,'string', 'Pause');
handles.FOV = [];
handles.persistentPlotHandle = [];
handles.pulseNum = 1;
guidata(hObject, handles);
plotDistLines(handles.radarDisplay,10);
set(handles.nTargets,'enable','off');
set(handles.nMountains,'enable','off');
set(handles.RCS,'enable','off');
% set(handles.bufferAnalyze,'enable','on');
handles.numRadarTurn = 0;
case 'Continue'
set(hObject,'string', 'Pause','value',1);
end
Th_Callback(handles.Th, eventdata, handles);
PW_Callback(handles.PW, eventdata, handles);
runRadarSim_v2(handles);
% hObject handle to run (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
function edit3_Callback(hObject, eventdata, handles)
% hObject handle to edit3 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: get(hObject,'String') returns contents of edit3 as text
% str2double(get(hObject,'String')) returns contents of edit3 as a double
% --- Executes during object creation, after setting all properties.
function edit3_CreateFcn(hObject, eventdata, handles)
% hObject handle to edit3 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: edit controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc
set(hObject,'BackgroundColor','white');
else
set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
end
三、运行结果
四、matlab版本及参考文献
1 matlab版本
2014a
2 参考文献
[1] 沈再阳.精通MATLAB信号处理[M].清华大学出版社,2015.
[2]高宝建,彭进业,王琳,潘建寿.信号与系统——使用MATLAB分析与实现[M].清华大学出版社,2020.
[3]王文光,魏少明,任欣.信号处理与系统分析的MATLAB实现[M].电子工业出版社,2018.
[4]李树锋.基于完全互补序列的MIMO雷达与5G MIMO通信[M].清华大学出版社.2021
[5]何友,关键.雷达目标检测与恒虚警处理(第二版)[M].清华大学出版社.2011
以上是关于雷达通信基于matlab雷达仿真模拟系统含Matlab源码 150期的主要内容,如果未能解决你的问题,请参考以下文章
雷达通信基于matlab线性调频脉冲雷达仿真含Matlab源码 2104期
雷达检测基于matlab模拟海洋监视雷达检测仿真含Matlab源码 2268期
雷达通信基于matlab雷达探测威力仿真含Matlab源码 1974期
雷达回波基于matlab天气观测极化雷达回波仿真含Matlab源码 2252期