Code covered by the BSD License  

Highlights from
Flutter Analysis Model

image thumbnail

Flutter Analysis Model

by

 

04 Sep 2003 (Updated )

Models a 2 DOF wing using SimMechanics™.

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

% 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('TE Pos (deg)','FontWeight','demi','FontSize',12);

Contact us