Code covered by the BSD License  

Highlights from
Desenvolvimento de Aplicacoes com MATLAB

image thumbnail

Desenvolvimento de Aplicacoes com MATLAB

by

 

Slides and demo files from the webinar "Desenvolvimento de Aplicacoes com MATLAB"

plotOptimSummary(out,R,xL,xU,yL,yU)
function plotOptimSummary(out,R,xL,xU,yL,yU)

% Copyright 2006 The MathWorks, Inc.

xsaved = getappdata(0, 'optim_xSaved');

n = size(xsaved, 1);
if out.iterations > 6
  iters = round(linspace(1, out.iterations, 6));
else
  iters = 1:out.iterations;
end
if ~isempty(iters)
  h2 = findobj('type', 'figure', 'tag', 'optimHighlight');
  close(h2);
  h2 = figure('toolbar', 'none', 'tag', 'optimHighlight', 'color', 'white');
  set(h2,'name','Highlights of Celltower Optimization')
  
  for i = 1:length(iters)
    subplot(2,3,i);
    plotFcn(xsaved(1:n,iters(i)),iters(i),'iter',R,xL,xU,yL,yU);
    axis off;
  end
end

rmappdata(0, 'optim_xSaved');

Contact us