Question: Using Matlab I will appreciate it if I see your command input on matlab Thank you llj temperature explorers often estimated altitude by measuring the
llj temperature explorers often estimated altitude by measuring the equations to of boiling water. Write a script file that uses the following two purpose. make a table that modern-day hikers could use for the same p 29.921(1-6.8753 x 10 6h), T 49.161 ln p 44.932 where p is atmospheric pressure in inches of mercury, Th is the boiling temperature in OF, and h is the altitude in feet. The table should have two columns: the first is the altitude and the second is the boiling temperature. The altitude should go from -500 ft. to 10,000 ft. in increments of 500 ft. Save the table results in an ASCII file called Hw4Prob4.txt. b) (5 pts) Write another script file that does the following: Load the data saved in HW4 Prob4 .txt; Using the variable that contains the loaded data, assign the first column to a variable called Hloaded and the second column to a variable called Tloaded; Display these two variables in the Command Window without using the disp and fprintf functions. Hint Use format short g for this problem. Create a matrix called table where vectors h and Tb are columns in that matrix. Use only the disp function to the results in table format asfollows: Boiling Temperature Altitude (deg F) (ft)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
