Beruflich Dokumente
Kultur Dokumente
http://www.mathworks.com/matlabcentral/fileexchange/9956-antenna-des...
Search: MATLAB Central Create Account Log In
File Exchange
Answers
Newsgroup
Link Exchange
Blogs
Contest
MathWorks.com
from Antenna Design Wizards by Rael Sinai Program to simplify design of antennas, through the use of interactive design curves
No BSD License
Highlights from
Summary(varargin) SUMMARY M-file for Summary.fig ViewGraphs(varargin) VIEWGRAPHS M-file for ViewGraphs.fig
YagiUda(varargin) YAGIUDA M-file for YagiUda.fig HelicalDraw(handles) HelicalInteractive(hObject,ac... Maximum number of axes we will ever have is 6 HelicalSetParameters(handles,... Set the displayed values HelicalSetup(hObject,handles) HelicalSimulate(handles) this function will export the final design to IFADraw(handles) IFASetup(hObject,handles) Loads the Yagi Parameters LPDADraw(handles) Speed of Light 300MHz
Interactive(hObject,action,va...
LPDASelection(handles); LPDASetParameters(handles,X,Y... Set the displayed values LPDASetup(hObject,handles) Loads the Yagi Parameters
MultipleTrace(hObject,handles... It is assumed that multiple traces (curves) are defined for all SetAntennas(handles,Active) Set the active antenna SetAxis(x,y) YagiPoyntingDraw(handles) YagiSimulate(handles) this function will export the final design to YagiSimulate(handles) this function will export the final design to YagiSimulate(handles)
1 of 4
5/24/2011 5:01 PM
http://www.mathworks.com/matlabcentral/fileexchange/9956-antenna-des...
this function will export the final design to YagiUdaDraw(handles) YagiUdaSetParameters(handles,... Set the displayed values YagiUdaSetParameters(handles,... Set the displayed values YagiUdaSetParameters(handles,... Set the displayed values
YagiUdaSetup(hObject,handles) Loads the YagiPoynting Parameters YagiUdaSetup(hObject,handles) Loads the Yagi Parameters [x,y]=curveintersect(varargin... Curve Intersections.
crosshair(action,Val) Modified from Darren Weber's crosshair AntennaWizards.m HelicalDefaultParameters.m IFADefaulParameters.m LPDADefaulParameters.m YagiPoyntingDefaulParameters.m YagiUdaDefaulParameters.m View all files
2 of 4
5/24/2011 5:01 PM
http://www.mathworks.com/matlabcentral/fileexchange/9956-antenna-des...
function varargout = YagiUda(varargin) % YAGIUDA M-file for YagiUda.fig % YAGIUDA, by itself, creates a new YAGIUDA or raises the existing % singleton*. % % H = YAGIUDA returns the handle to a new YAGIUDA or the handle to % the existing singleton*. % % YAGIUDA('CALLBACK',hObject,eventData,handles,...) calls the local % function named CALLBACK in YAGIUDA.M with the given input arguments. % % YAGIUDA('Property','Value',...) creates a new YAGIUDA or raises the % existing singleton*. Starting from the left, property value pairs are % applied to the GUI before YagiUda_OpeningFunction gets called. An % unrecognized property name or invalid value makes property application % stop. All inputs are passed to YagiUda_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 % Copyright 2002-2003 The MathWorks, Inc. % Edit the above text to modify the response to help YagiUda % Last Modified by GUIDE v2.5 06-Oct-2005 14:53:29 % Begin initialization code - DO NOT EDIT gui_Singleton = 1; gui_State = struct('gui_Name', mfilename, ... 'gui_Singleton', gui_Singleton, ... 'gui_OpeningFcn', @YagiUda_OpeningFcn, ... 'gui_OutputFcn', @YagiUda_OutputFcn, ... 'gui_LayoutFcn', [] , ... 'gui_Callback', []); if nargin && ischar(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 % --- Executes just before YagiUda is made visible. function YagiUda_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 YagiUda (see VARARGIN) % Choose default command line output for YagiUda handles.output = hObject; if strcmp(get(hObject,'Visible'),'off') % Set the Interval to zero set(handles.Interval,'Value',0); set(handles.Interval,'String','0'); % Sets frequency to default 300 MHz set(handles.Frequency,'Value',300); % Set the dropdown menu for Antenna Selection, and position of current % antenna SetAntennas(handles,1); % Plot Graphs, and set Parameter Names YagiUdaSetup(hObject,handles); % Determine if there are multiple traces MultipleTrace(hObject,handles); % Sets the crosshairs at default value [X,Y] = SetUp(handles,pi); % Set Legend on left hand panel YagiUdaSetParameters(handles,X,Y); % Draw the Antenna YagiUdaDraw(handles) % Prevent the Antenna axes from becoming the active object when clicked set(handles.antenna,'HitTest','Off') % Prevent the Antenna graph from becoming the active object when clicked set(get(handles.antenna,'Children'),'HitTest','Off') % Set Action for keypresses set(gcf,'KeyPressFcn',{@KeyPressFcn,gcbf});
3 of 4
5/24/2011 5:01 PM
http://www.mathworks.com/matlabcentral/fileexchange/9956-antenna-des...
Patents
Trademarks
New Products
Support
Documentation
Newsletters
4 of 4
5/24/2011 5:01 PM