Question
MATLAB Problem: The wind chill temperature, Twc, is calculated by Twc = 35.74 + 0.6215T 35.75v 0.16 + 0.4275T v0.16 where T is the temperature
MATLAB Problem:
The wind chill temperature, Twc, is calculated by Twc = 35.74 + 0.6215T 35.75v 0.16 + 0.4275T v0.16 where T is the temperature in degrees Fahrenheit and v is the wind speed in miles per hour. Calculate the wind chill temperature, rounded to the nearest degree, for the following temperature/wind velocity combinations: [10, 10], [0, 10], [10, 10], [20, 10], [30, 10], [10, 20], [0, 20], [10, 20], [20, 20], [30, 20]. a) Display the results in a three-column table where the first column is the temperature, the second is the wind velocity, and the third is the wind chill temperature. b) Write the results to an Excel file named windchill.xlsx
What I have so far is:
T=[-10,0,10,20,30,-10,0,10,20,30]; V=[10,10,10,10,10,20,20,20,20,20]; TWC=35.74+(0.6215.*T)-(35.74.*(V.^0.16)+(0.4215.*T.*(V.^0.16)); A=table(T,V,TWC) xlswrite('windchill', A)
What am I missing?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started