Question: MATLAB I can do all the graph work. I just am having a hard time writing the script to get the plot using anonymous functions.

MATLAB

I can do all the graph work. I just am having a hard time writing the script to get the plot using anonymous functions.

Old time explorers like Jeremiah Johnson used to determine altitude by mea-suring the temperature of boiling water. The relevant formulas are:

p = 29.921((1 6.8753 10^-6)h)

T = 49.161 ln p + 44.932

where p is pressure, h is altitude, and T is boiling temperature. Write a .m script le thatdenes these two functions as anonymous functions and then plots boiling temperatureagainst altitude in the range from 500 ft to 14, 439 ft (Colorados highest point). Turnin one copy of the plot, and take the other copy and a thermometer with you next timeyou are mountaineering. On your plot, label the following altitides with markers: New Orleans, LA (-2 ft), Golden,CO (5,675 ft), Lookout Mtn, CO (7,379 ft), the top of Copper Mtn ski resort (12,313ft), and Mt Elbert (14,439 ft). To plot a point, the command is still plot(x,y), but x and y will be scalars instead of arrays. You will need to use the hold on command inorder to plot mulitple things in the same gure. The marker size will need to be large.Add grid lines to the plot, so it will be easier for a mountaineer to trace. Label the vepoints on the plot using this link. We would like this plot to be a polished plot. Label the axes, and place a title on theplot. Use font sizes and line widths that make the plot look nice. You should be able toGoogle this.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!