function speckle() % 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. % % 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. load speckle a = figure('Color',[0.8 0.8 0.8], ... 'Colormap',mat0, ... 'PointerShapeCData',mat1, ... 'Position',[604 44 560 420], ... 'Tag','Fig1'); b = uicontrol('Parent',a, ... 'Units','points', ... 'BackgroundColor',[0.752941 0.752941 0.752941], ... 'FontSize',24, ... 'Position',[162 159.75 174.75 124.5], ... 'String','Select speckle noise level', ... 'Style','text', ... 'Tag','StaticText1'); b = uicontrol('Parent',a, ... 'Units','points', ... 'BackgroundColor',[0.752941 0.752941 0.752941], ... 'Callback','s=get(gco,''Value'');save V s', ... 'Max',100, ... 'Position',[34.5 63 33 189], ... 'Style','slider', ... 'Tag','Slider1', ... 'Value',45.1); b = uicontrol('Parent',a, ... 'Units','points', ... 'BackgroundColor',[0.752941 0.752941 0.752941], ... 'FontSize',24, ... 'Position',[76.5 57.75 24 22.5], ... 'String','0', ... 'Style','text', ... 'Tag','StaticText2'); b = uicontrol('Parent',a, ... 'Units','points', ... 'BackgroundColor',[0.752941 0.752941 0.752941], ... 'FontSize',24, ... 'Position',[71.25 230.25 36.75 26.25], ... 'String','100', ... 'Style','text', ... 'Tag','StaticText3');