function fig = LFOMaker()
% This is the machine-generated representation of a Handle Graphics object
% and its children. Note that handle values may change when these objects
% are re-created. This may cause problems with any callbacks written to
% depend on the value of the handle at the time the object was saved.
% This problem is solved by saving the output as a FIG-file.
%
% To reopen this object, just type the name of the M-file at the MATLAB
% prompt. The M-file and its associated MAT-file must be on your path.
%
% NOTE: certain newer features in MATLAB may not have been saved in this
% M-file due to limitations of this format, which has been superseded by
% FIG-files. Figures which have been annotated using the plot editor tools
% are incompatible with the M-file/MAT-file format, and should be saved as
% FIG-files.
load LFOMaker
h0 = figure('Color',[0.8 0.8 0.8], ...
'Colormap',mat0, ...
'FileName','C:\Documents and Settings\Zambelli\Desktop\Tesi\Codice\Matlab\LFOMaker.m', ...
'Name','LFO - Maker', ...
'NumberTitle','off', ...
'PaperPosition',[18 180 576 432], ...
'PaperUnits','points', ...
'Position',[1 31 1024 700], ...
'Tag','Fig1', ...
'ToolBar','none');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ...
'FontSize',12, ...
'ListboxTop',0, ...
'Position',[270.75 490.5 215.25 16.5], ...
'String','LFO Output', ...
'Style','text', ...
'Tag','StaticText1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ...
'ListboxTop',0, ...
'Position',[31.3125 78 65.25 15], ...
'String','LFW Type', ...
'Style','text', ...
'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ...
'ListboxTop',0, ...
'Position',[31.3125 54 65.25 20.25], ...
'String','Simulate Regular Stair Stepped LFO', ...
'Style','text', ...
'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ...
'ListboxTop',0, ...
'Position',[31.3125 30 65.25 20.25], ...
'String','Simulate Wall - Mart Power Supply', ...
'Style','text', ...
'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ...
'ListboxTop',0, ...
'Position',[141.75 78 78.75 15], ...
'String',mat1, ...
'Style','popupmenu', ...
'Tag','PopupMenu1', ...
'Value',1);
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ...
'ListboxTop',0, ...
'Position',[176.25 55.5 10.5 9.75], ...
'Style','checkbox', ...
'Tag','Checkbox1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ...
'ListboxTop',0, ...
'Position',[176.25 32.25 10.5 11.25], ...
'Style','checkbox', ...
'Tag','Checkbox2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ...
'ListboxTop',0, ...
'Position',[482.625 76.5 65.25 15], ...
'String','LFW Rate', ...
'Style','text', ...
'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ...
'ListboxTop',0, ...
'Position',[482.625 58.875 65.25 15], ...
'String','LFW Amplitude', ...
'Style','text', ...
'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ...
'ListboxTop',0, ...
'Position',[458.25 41.25 114 15], ...
'String','LFW Phase/Width/Duty Cycle', ...
'Style','text', ...
'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ...
'ListboxTop',0, ...
'Position',[482.625 23.625 65.25 15], ...
'String','DC Offset', ...
'Style','text', ...
'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[594.75 75 66.75 15], ...
'String','1', ...
'Style','edit', ...
'Tag','EditText1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[594.75 57.75 66.75 15], ...
'String','1', ...
'Style','edit', ...
'Tag','EditText2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[594.75 40.5 66.75 15], ...
'String','0', ...
'Style','edit', ...
'Tag','EditText3');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[594.75 23.25 66.75 15], ...
'String','0', ...
'Style','edit', ...
'Tag','EditText4');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ...
'ListboxTop',0, ...
'Position',[690 73.5 43.5 15.75], ...
'String','Hertz', ...
'Style','text', ...
'Tag','StaticText3');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ...
'ListboxTop',0, ...
'Position',[690 55.3125 43.5 15.75], ...
'String','Volts', ...
'Style','text', ...
'Tag','StaticText3');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ...
'ListboxTop',0, ...
'Position',[690 37.125 43.5 15.75], ...
'String','Deg/perc', ...
'Style','text', ...
'Tag','StaticText3');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ...
'ListboxTop',0, ...
'Position',[690 18.9375 43.5 15.75], ...
'String','Volts', ...
'Style','text', ...
'Tag','StaticText3');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ...
'Callback',mat2, ...
'ListboxTop',0, ...
'Position',[254.25 136.5 79.5 30.75], ...
'String','Save LFW ''n'' go...', ...
'Tag','Pushbutton1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ...
'Callback',mat3, ...
'ListboxTop',0, ...
'Position',[412.5 136.5 79.5 30.75], ...
'String','Info', ...
'Tag','Pushbutton1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ...
'Callback',mat4, ...
'ListboxTop',0, ...
'Position',[571.5 136.5 79.5 30.75], ...
'String','Close', ...
'Tag','Pushbutton1');
h1 = axes('Parent',h0, ...
'Units','pixels', ...
'Box','on', ...
'ButtonDownFcn',mat5, ...
'CameraUpVector',[0 1 0], ...
'CameraUpVectorMode','manual', ...
'Color',[1 1 1], ...
'ColorOrder',mat6, ...
'Position',[35 274 944 353], ...
'Tag','Axes1', ...
'XColor',[0 0 0], ...
'YColor',[0 0 0], ...
'ZColor',[0 0 0]);
h2 = line('Parent',h1, ...
'Color',[0 0 1], ...
'Tag','Axes1Line1', ...
'XData',mat7, ...
'YData',mat8);
h2 = text('Parent',h1, ...
'Color',[0 0 0], ...
'HandleVisibility','off', ...
'HorizontalAlignment','center', ...
'Position',[2.497348886532343 -1.136363636363636 17.32050807568877], ...
'String','Seconds', ...
'Tag','Axes1Text4', ...
'VerticalAlignment','cap');
set(get(h2,'Parent'),'XLabel',h2);
h2 = text('Parent',h1, ...
'Color',[0 0 0], ...
'HandleVisibility','off', ...
'HorizontalAlignment','center', ...
'Position',[-0.1749734888653234 -0.005681818181818121 17.32050807568877], ...
'Rotation',90, ...
'String','Volts', ...
'Tag','Axes1Text3', ...
'VerticalAlignment','baseline');
set(get(h2,'Parent'),'YLabel',h2);
h2 = text('Parent',h1, ...
'Color',[0 0 0], ...
'HandleVisibility','off', ...
'HorizontalAlignment','right', ...
'Position',mat9, ...
'Tag','Axes1Text2', ...
'Visible','off');
set(get(h2,'Parent'),'ZLabel',h2);
h2 = text('Parent',h1, ...
'Color',[0 0 0], ...
'HandleVisibility','off', ...
'HorizontalAlignment','center', ...
'Position',mat10, ...
'Tag','Axes1Text1', ...
'VerticalAlignment','bottom');
set(get(h2,'Parent'),'Title',h2);
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ...
'Callback','fcnLFO plot', ...
'ListboxTop',0, ...
'Position',[95.25 136.5 79.5 30.75], ...
'String','Draw!', ...
'Tag','Pushbutton1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ...
'ListboxTop',0, ...
'Position',[31.3125 4.5 65.25 21.75], ...
'String','LFW rectification envelope', ...
'Style','text', ...
'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ...
'ListboxTop',0, ...
'Position',[176.25 13.5 9.75 10.5], ...
'Style','checkbox', ...
'Tag','Checkbox3');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ...
'ListboxTop',0, ...
'Position',[260.25 72 65.25 21.75], ...
'String','Algorithm precision', ...
'Style','text', ...
'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ...
'ListboxTop',0, ...
'Position',[324 73.5 107.25 18.75], ...
'String',mat11, ...
'Style','popupmenu', ...
'Tag','PopupMenu2', ...
'Value',4);
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ...
'ListboxTop',0, ...
'Position',[482.625 6 65.25 15], ...
'String','Damping factor', ...
'Style','text', ...
'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ...
'ListboxTop',0, ...
'Position',[690 0.75 43.5 15.75], ...
'String','Hertz', ...
'Style','text', ...
'Tag','StaticText3');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'ListboxTop',0, ...
'Position',[594.75 6 66.75 15], ...
'String','0', ...
'Style','edit', ...
'Tag','EditText5');
if nargout > 0, fig = h0; end