Code covered by the BSD License  

Highlights from
Data Analysis with MATLAB for Excel Users

image thumbnail
from Data Analysis with MATLAB for Excel Users by Michael Agostini
Materials for public seminar of the same name (slides and demos)

plotmodel.m
% Plots the motor data
% Copyright 2006-2009 The MathWorks, Inc.
figure('windowstyle', 'docked')
plot(rpm,bench,'.-b','MarkerSize',15);hold on
line(rpm,expmodel,'color','g','LineWidth',2);
plot(rpm,lowerbound,':r'); plot(rpm,upperbound,':r');
legend('Benchmark motor data','Exponential fit',...
    '95% confidence bounds','location','se')

Contact us at files@mathworks.com