Question: Using MATLAB and the matlab template below provided please write a code for this problem : %Apply the temperature conversion function to the 3 test
Using MATLAB and the matlab template below provided please write a code for this problem:

%Apply the temperature conversion function to the 3 test values given in %the assignment %If using the checker, store the results in these variables:
celsius1 = 0; kelvin1 = 0; celsius2 = 0; kelvin2 = 0; celsius3 = 0; kelvin3 = 0;
3. Write a function that will convert the temperature from Fahrenheit into both Celsius and Kelvin. The function should have one input argument and two output arguments. Have the script present the results for the following test cases: a. 212 F b. 32F c. -40F These are all special values for which you should know the corresponding temperature in C. (Note, you may use: C = F-32 1.8 and K = F+459.67 1.8 Function specifications: Input argument: temperature in Fahrenheit, a scalar. Output arguments: temperature in Celsius, temperature in Kelvin - both scalars. (Must be in this order)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
