Question: [ 5 points ] The file temp _ cal.mat contains the matrix variable x which has the output of a temperature transducer in the first

[5 points] The file temp_cal.mat contains the matrix variable x which has the output of a
temperature transducer in the first column and the actual temperature in C in the second
column. The transducer is known to be linear. The file temp_out.mat is the output of this
transducer over a 2-day period. This output is in variable y and is sampled every 1 min . Write a
MATLAB program to take the data in temp_out.mat and plot actual temperature in C as a
function of time. The horizontal axis should be in hours. Correctly label the axes, as should be
done for all MATLAB plots. [Hint: First find the equation for this transducer system that is
equivalent to Equation 2.1 by plotting column 1 against column 2. Note that, unlike the transducer
described by Equation 2.1, the transducer in this problem does have an offset; that is,b in
Equation 2.2 is not 0.0. Use this equation in your program to decode the data in temp_out.mat
and then plot using an appropriate horizontal axis.]
[ 5 points ] The file temp _ cal.mat contains the

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!