Question: The original temperature data is provided to you as two large vectors. One contains a large number of temperature values. The second vector specifies the

The original temperature data is provided to you as two large vectors. One contains a large number of temperature values. The second vector specifies the unit of the corresponding temperature value. Units are designated by a code number: 0,1, or 2. Where:
- O indicates Celsius
-1 indicates Fahrenheit
-2 indicates Kelvin
Create a script that will analyze both of the vectors, and produce a consistent temperature anomalies vector where all of the measurements are in Celsius.
Input:
The randomized temperature anomalies data set is provided to you as part of the "Learner Template". Do not change the names of these variables.
Output:
The original temperature data is provided to you

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 Programming Questions!