Question: The wind chill temperature, TWC , is the air temperature felt on exposed skin due to wind. In U.S. customary units it is calculated by:

The wind chill temperature, TWC, is the air temperature felt on exposed skin due to wind. In U.S. customary units it is calculated by:

Twc=35.74+0.6215T35.75v0.16+0.4275Tv0.16Twc=35.74+0.6215T35.75v0.16+0.4275Tv0.16

where T is the temperature in degrees F, and v is the wind speed in mph. Write a MATLAB program in a script file that displays the following chart of wind chill temperature for given air temperature and wind speed in the Command Window:

Temperature (F)

---------------------------------------------------------

Speed (mph) 40 30 20 10 0 -10 -20 -30 -40

--------------------------------------------------------------------------------

10 34 21 9 -4 -16 -28 -41 -53 -66

20 30 17 4 -9 -22 -35 -48 -61 -74

30 28 15 1 -12 -26 -39 -53 -67 -80

40 27 13 -1 -15 -29 -43 -57 -71 -84

50 26 12 -3 -17 -31 -45 -60 -74 -88

60 25 10 -4 -19 -33 -48 -62 -76 -91

Hint: Start with creating the following matrices (you may use repmat command in MATLAB). Then use element-wise operations to calculate matrix TwcTwc:

T=4040404040303030303020202020201010101010000001010101010202020202030303030304040404040T=[4030201001020304040302010010203040403020100102030404030201001020304040302010010203040]

v=102030405060102030405060102030405060102030405060102030405060102030405060102030405060102030405060102030405060v=[101010101010101010202020202020202020303030303030303030404040404040404040505050505050505050606060606060606060]

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!