function fig = dynam() % 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 dynam h0 = figure('Color',[0.8 0.8 0.8], ... 'Colormap',mat0, ... 'FileName','C:\My Documents\dynam.m', ... 'PaperPosition',[18 180 576 432], ... 'PaperUnits','points', ... 'Position',[408 215 560 418], ... 'Tag','Fig1', ... 'ToolBar','none'); h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'ListboxTop',0, ... 'Position',[69.75 293.25 294 14.25], ... 'String','Dynamic Response of a First Order System', ... 'Style','text', ... 'Tag','StaticText1'); h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'ListboxTop',0, ... 'Position',[9.75 267.75 138.75 15], ... 'String','dT/dt = -kT with T(0) = To', ... 'Style','text', ... 'Tag','StaticText2'); h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'ListboxTop',0, ... 'Position',[9.75 248.25 138.75 15], ... 'String','Solution: T/To = exp (-kt)', ... 'Style','text', ... 'Tag','StaticText2'); h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'Callback',mat1, ... 'ListboxTop',0, ... 'Position',[201.75 261.5 69.75 18.75], ... 'String','k=0.01', ... 'Tag','Pushbutton1'); h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'Callback',mat2, ... 'ListboxTop',0, ... 'Position',[201.75 24 69.75 18.75], ... 'String','Clear Graphs', ... 'Tag','Pushbutton1'); h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'Callback',mat3, ... 'ListboxTop',0, ... 'Position',[201.75 237.75 69.75 18.75], ... 'String','k=0.05', ... 'Tag','Pushbutton1'); h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'Callback',mat4, ... 'ListboxTop',0, ... 'Position',[201.75 214 69.75 18.75], ... 'String','k=0.10', ... 'Tag','Pushbutton1'); h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'Callback',mat5, ... 'ListboxTop',0, ... 'Position',[201.75 190.25 69.75 18.75], ... 'String','k=0.50', ... 'Tag','Pushbutton1'); h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'Callback',mat6, ... 'ListboxTop',0, ... 'Position',[201.75 166.5 69.75 18.75], ... 'String','k=1.0', ... 'Tag','Pushbutton1'); h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'Callback',mat7, ... 'ListboxTop',0, ... 'Position',[201.75 119 69.75 18.75], ... 'String','k=5.0', ... 'Tag','Pushbutton1'); h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'Callback',mat8, ... 'ListboxTop',0, ... 'Position',[201.75 95.25 69.75 18.75], ... 'String','k=10.0', ... 'Tag','Pushbutton1'); h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'Callback',mat9, ... 'ListboxTop',0, ... 'Position',[201.75 142.75 69.75 18.75], ... 'String','k=2.0', ... 'Tag','Pushbutton1'); h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'Callback',mat10, ... 'ListboxTop',0, ... 'Position',[201.75 71.5 69.75 18.75], ... 'String','k=50.0', ... 'Tag','Pushbutton1'); h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'Callback',mat11, ... 'ListboxTop',0, ... 'Position',[201.75 47.75 69.75 18.75], ... 'String','k=100.0', ... 'Tag','Pushbutton1'); if nargout > 0, fig = h0; end