%% Pressure altitude2
%% Pressure altitude2
% Calculate the pressure altitude at static pressures of 101,325 Pa and 26,436 Pa with errors for out-of-range inputs.

h = atmospalt([101325 26436], 'Error' )

% Copyright 2015 The MathWorks, Inc.