% Script to study aircraft data

% Aircraft data file

% Contains the following information:
%
% Column 1 = takeoff weight (lb)
% Column 2 = Approach speed (knots)
% Column 3 = wingspan (feet)
% Column 4 = tail height (ft)

% 7000 	98	44.00	9.58
% 170000 	123	156.25	48.50

load aircraftData.m

% Create variables with dataxlabel('Aircraft Wingspan (ft)')

weight_lbs = aircraftData(:,1);
speed_knots = aircraftData(:,2);
wingspan_ft = aircraftData(:,3);
tailHeight_ft = aircraftData(:,4);

% Make a plot

plot(wingspan_ft,weight_lbs,'or')
xlabel('Aircraft Wingspan (ft)')
ylabel('Aircraft Takeoff Weight (lbs)')
grid




