Code covered by the BSD License  

Highlights from
Automated Failure Boundary Mapping

image thumbnail
from Automated Failure Boundary Mapping by Stuart Kozola
Demo files from July 21, 2009 webinar

make3plots(X1, Y1, Y2, Y3)
function make3plots(X1, Y1, Y2, Y3)
%CREATEFIGURE1(X1,Y1,Y2,Y3)
%  X1:  vector of x data
%  Y1:  vector of y data
%  Y2:  vector of y data
%  Y3:  vector of y data

%  Auto-generated by MATLAB on 14-Feb-2007 22:38:36
%   Copyright 2009 The MathWorks, Inc.

% Create figure
figure1 = figure;

% Create subplot
subplot1 = subplot(3,1,1,'Parent',figure1,'YGrid','on','XGrid','on');
box('on');
hold('all');

% Create plot
plot(X1,Y1,'Parent',subplot1,'LineWidth',2,'Color',[0 0 0]);

% Create ylabel
ylabel('Plunge (in)','FontWeight','demi','FontSize',12);

% Create title
title('Closed-Loop Response','FontWeight','demi','FontSize',12);

% Create subplot
subplot2 = subplot(3,1,2,'Parent',figure1,'YGrid','on','XGrid','on');
box('on');
hold('all');

% Create plot
plot(X1,Y2,'Parent',subplot2,'LineWidth',2,'Color',[0 0 0]);

% Create ylabel
ylabel('Pitch (deg)','FontWeight','demi','FontSize',12);

% Create subplot
subplot3 = subplot(3,1,3,'Parent',figure1,'YGrid','on','XGrid','on');
box('on');
hold('all');

% Create plot
plot(X1,Y3,'Parent',subplot3,'LineWidth',2,'Color',[0 0 0]);

% Create xlabel
xlabel('Time (s)','FontWeight','demi','FontSize',12);

% Create ylabel
ylabel('Aileron Pos (deg)','FontWeight','demi','FontSize',12);

Contact us at files@mathworks.com