Question: INSTRUCTIONS: Create a special function that sends or receives different amounts of arguments using the commands VARARGOUT, VARARGIN, NARGIN & NARGOUT. Matlab language please. The
The wind-chill temperature Twc is the perceived air temperature felt by the body on exposed skin due to the flow of air. For temperatures below 50 Fahrenheit and wind speed higher than 3 mph, it is calculated by: Twc = C1 + C2 TA + C3 V0.16 + C4 TA V0.16 = Where TA is the air temperature in degrees F, V is the wind speed in mph, C1 = 35.74, C2 = 0.6215, C3 = -35.75, and C4 = 0.4275. Write a user defined function for calculating Twc for given TA and V. Rounded the output for the nearest integer. Use as example: - a) for TA = 35 degrees and V = 26 mph b) for TA = 10 degrees and V = 50 mph c) for V = 50 mph. In the case where the user enters only one entry, it will be the wind speed and in this case the default air temperature will be the standard room temperature of 59 degrees. Refer to the text chapter 7 for more examples. For more practice, refer to the textbook Gilat, A. (2015). MATLAB, An Introduction with Applications: 5th edition. Wiley captulo 7
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
