% Atmosphere ballon sounding data, the lower 10 km A = [0 14.0 1040. 1.15; 1 8.9 870. 1.10; 2 2.5 810. 0.98; 3 -3.5 700. 0.93; 4 -12.4 640. 0.80; 5 -18.7 520. 0.77; 6 -22.0 460. 0.67; 7 -30.6 450. 0.42; 8 -39.5 370. 0.51; 9 -41.8 320. 0.48; 10 -50.3 280. 0.43]; h = A(:,1); % Elevation (km) t = A(:,2); % Temperature (deg. C) p = A(:,3); % Pressure (hPa) d = A(:,4); % Density (kg/m^3) % Plot the data vs elevation figure, plot(h,t,'+r') figure, plot(h,p,'xr') figure, plot(h,d,'or')