linear_array_gui.m - MATLAB Simulations for Radar Systems
linear_array_gui.m in MATLABSimulationsfor
MATLAB Simulations for Radar Systems Design...原文链接
function varargout = linear_array_gui(varargin)
% LINEAR_ARRAY_GUI M-file for linear_array_gui.fig
% LINEAR_ARRAY_GUI, by itself, creates a new LINEAR_ARRAY_GUI or raises the existing
% singleton*.
%
% H = LINEAR_ARRAY_GUI returns the handle to a new LINEAR_ARRAY_GUI or the handle to
% the existing singleton*.
%
% LINEAR_ARRAY_GUI('CALLBACK',hObject,eventData,handles,...) calls the local
% function named CALLBACK in LINEAR_ARRAY_GUI.M with the given input arguments.
%
% LINEAR_ARRAY_GUI('Property','Value',...) creates a new LINEAR_ARRAY_GUI or raises the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before linear_array_gui_OpeningFunction gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to linear_array_gui_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
% Edit the above text to modify the response to help linear_array_gui
% Last Modified by GUIDE v2.5 09-Jun-2003 15:16:21
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @linear_array_gui_OpeningFcn, ...
'gui_OutputFcn', @linear_array_gui_OutputFcn, ...
'gui_LayoutFcn', [] , ...
'gui_Callback', []);
if nargin & isstr(varargin{1})
gui_State.gui_Callback = str2func(varargin{1});
end
if nargout
[varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
else
gui_mainfcn(gui_State, varargin{:});
end
% End initialization code - DO NOT EDIT
global Nr dolr theta0 nbits
% --- Executes just before linear_array_gui is made visible.
function linear_array_gui_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 linear_array_gui (see VARARGIN)
% Choose default command line output for linear_array_gui
handles.output = hObject;
% Update handles structure
guidata(hObject, handles);
% UIWAIT makes linear_array_gui wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = linear_array_gui_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
varargout{1} = handles.output;
% --- Executes during object creation, after setting all properties.
function InitializeToggleButton_CreateFcn(hObject, eventdata, handles)
% hObject handle to InitializeToggleButton (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','black');
else
set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
end
function InitializeToggleButton_Callback(hObject, eventdata, handles)
% hObject handle to InitializeToggleButton (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 InitializeToggleButton as text
% str2double(get(hObject,'String')) returns contents of InitializeToggleButton as a double
'InitializeToggleButton_Callback'
set(handles.Nr,'String', num2str(25))
set(handles.dolr,'String',num2str(0.5))
set(handles.theta0,'String',num2str(0))
set(handles.nbits,'String',num2str(-1))
% --- Executes during object creation, after setting all properties.
function PlotToggleButton_CreateFcn(hObject, eventdata, handles)
% hObject handle to PlotToggleButton (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','black');
else
set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
end
function PlotToggleButton_Callback(hObject, eventdata, handles)
% hObject handle to PlotToggleButton (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 PlotToggleButton as text
% str2double(get(hObject,'String')) returns contents of PlotToggleButton as a double
'PlotToggleButton_Callback'
Nr = str2num(get(handles.Nr, 'String'))
dolr = str2num(get(handles.dolr, 'String'))
theta0 = str2num(get(handles.theta0, 'String'))
nbits = str2num(get(handles.nbits, 'String'))
winid = 1
win_type = get(handles.WindowChoice,'Value')
switch win_type
case 1
win = ones(Nr,1);
case 2
win = hamming(Nr) ;
case 3
win = hanning(Nr) ;
case 4
win = kaiser(Nr,pi) ;
case 5
win = blackman(Nr) ;
end
[theta,patternr,patterng] = linear_array(Nr,dolr,theta0,winid,win,nbits);
figure(1)
plot(theta,patterng,'k')
grid
xlabel('Steering angle - degrees')
ylabel('Gain pattern - dB')
axis tight
% --- Executes during object creation, after setting all properties.
function QuitToggleButton_CreateFcn(hObject, eventdata, handles)
% hObject handle to QuitToggleButton (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','black');
else
set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
end
function QuitToggleButton_Callback(hObject, eventdata, handles)
% hObject handle to QuitToggleButton (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 QuitToggleButton as text
% str2double(get(hObject,'String')) returns contents of QuitToggleButton as a double
'QuitToggleButton_Callback'
close all
clear all
% --- Executes during object creation, after setting all properties.
function Nr_CreateFcn(hObject, eventdata, handles)
% hObject handle to Nr (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 Nr_Callback(hObject, eventdata, handles)
% hObject handle to Nr (see GCBO)
% eventdata reserved - to be defined in a future version of
没有合适的资源?快使用搜索试试~ 我知道了~
RCS1.rar_RCS_RCs1_acrosstx7
共331个文件
m:199个
bmp:91个
rar:15个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 91 浏览量
2022-07-14
19:26:04
上传
评论
收藏 1.29MB RAR 举报
温馨提示
RCS的相关计算,随便上传的,效果很一般,不建议下载
资源推荐
资源详情
资源评论
收起资源包目录
RCS1.rar_RCS_RCs1_acrosstx7 (331个子文件)
Fig5_8b.bmp 231KB
fig4_14.bmp 231KB
fig7_14b.bmp 231KB
fig8_21.bmp 231KB
fig8_10.bmp 231KB
fig6_8b.bmp 231KB
fig6_20b.bmp 231KB
fig8_20.bmp 231KB
fig6_26a.bmp 231KB
fig7_11.bmp 231KB
fig4_6a.bmp 231KB
fig6_8a.bmp 231KB
fig4_4.bmp 231KB
fig6_2a.bmp 231KB
fig6_20a.bmp 231KB
fig9_8a.bmp 231KB
fig1_24b.bmp 231KB
fig1_20.bmp 231KB
fig6_20c.bmp 231KB
fig13_21a.bmp 231KB
Fig5_8a.bmp 231KB
fig4_10.bmp 231KB
fig6_4a.bmp 231KB
fig6_5d.bmp 231KB
fig8_9.bmp 231KB
fig7_14c.bmp 231KB
fig6_2d.bmp 231KB
fig1_19b.bmp 231KB
fig1_23b.bmp 231KB
fig1_18a.bmp 231KB
fig1_24a.bmp 231KB
fig13_12.bmp 231KB
fig9_8b.bmp 231KB
fig2_5.bmp 231KB
fig7_8.bmp 231KB
fig4_7.bmp 231KB
fig6_2c.bmp 231KB
fig6_19c.bmp 231KB
fig4_2.bmp 231KB
fig4_12.bmp 231KB
fig6_21b.bmp 231KB
fig1_18b.bmp 231KB
fig6_2b.bmp 231KB
fig8_22.bmp 231KB
fig8_11.bmp 231KB
fig2_4.bmp 231KB
fig6_19a.bmp 231KB
fig4_8.bmp 231KB
fig7_9.bmp 231KB
fig6_21a.bmp 231KB
fig7_13b.bmp 231KB
fig4_11b.bmp 231KB
fig4_11a.bmp 231KB
fig6_6.bmp 231KB
fig9_9a.bmp 231KB
fig1_25.bmp 231KB
fig7_13a.bmp 231KB
fig8_12.bmp 231KB
fig6_26c.bmp 231KB
fig13_27.bmp 231KB
fig6_19b.bmp 231KB
fig6_4b.bmp 231KB
Fig5_8c.bmp 231KB
fig4_6b.bmp 231KB
fig4_16.bmp 231KB
fig7_3a.bmp 231KB
fig1_23a.bmp 231KB
fig9_9b.bmp 231KB
fig13_21b.bmp 231KB
fig2_3.bmp 231KB
fig4_9.bmp 231KB
Fig5_7.bmp 231KB
fig10_5b.bmp 231KB
fig1_26.bmp 231KB
fig6_26b.bmp 231KB
fig7_12.bmp 231KB
fig13_28.bmp 231KB
fig7_14a.bmp 231KB
fig6_5a.bmp 231KB
fig6_21c.bmp 231KB
fig7_3b.bmp 231KB
fig1_19a.bmp 231KB
fig9_19.bmp 231KB
fig4_3.bmp 231KB
fig4_13.bmp 231KB
fig8_19.bmp 231KB
fig10_5a.bmp 231KB
fig6_5c.bmp 231KB
fig1_27.bmp 231KB
fig6_5b.bmp 231KB
fig2_2.bmp 231KB
cubic.dat 2KB
clutter_rcs_gui.fig 51KB
array.fig 35KB
stretch_gui.fig 30KB
myradar_visit2_2_gui.fig 29KB
matched_filter_gui.fig 28KB
rangecalculation.fig 6KB
rcs_show.fig 5KB
clutter_rcs_gui.m 21KB
共 331 条
- 1
- 2
- 3
- 4
资源评论
钱亚锋
- 粉丝: 88
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功