%% Convert airspeeds2
%% Convert airspeeds2
% Convert airspeeds from true airspeed to equivalent airspeed at 1000 m and 0 m.

ain = [25.7222; 10.2889; 3.0867];
sos = [336.4; 340.3; 340.3];
P0 = [89874.6; 101325; 101325];
as = correctairspeed(ain, sos, P0,'TAS','EAS')

% Copyright 2015 The MathWorks, Inc.