Question: Part 1 . Download the file called 'data _ final.xlsx'and read the data into MATLAB as a variable ( name it whatever you want )
Part Download the file called 'datafinal.xlsx'and read the data into MATLAB as a variable name it whatever you want The first column is a timeaxis units of seconds The next three columns are some measurements of a dimensionless variable at each time point.
a Plot all the data on a single plot and label everything clearly.
b Using a crosscorrelation function, figure out the timeshift between the data in column and column Make a plot that illustrates what you did. note: since the number of datapoints in each set is odd, the tau point will be exactly in the center of the correlation function
c Do the same thing as you did in b but now comparing column with column
d Do the same thing again but now comparing column to column
e What would happen if you switched the order of your datasets in the crosscorrelation functions?
Part Reuse the data from part
a Compute the crossspectral density functions for the same pairs of data you compared in problem Plot the absolute value of the crossspectral density functions on a single plot. Use a semilogy scale. Also, since the number of datapoints is odd, your zero frequency point should be exactly in the middle of the spectrum.
b Zoom in on the central region around the peak in the your plot from part a roughly to
radians per second Keep your plot on a semiology scale. What type of function describes the kind of decay you see in this region?
c Find the timeshift between the data in column and the data in column using the crossspectral density functions. I recommend plotting the inverse tangent of the ratio of the imaginary part to the real part of the crossspectral density function. Zoom in on the region around zerofrequency. By analyzing this central linear region, you can determine the timeshift using the formula phi omega tau where tau is the time shift.
d Do the same thing as you did in c but now comparing column with column
e Do the same thing again but now comparing column to column
f Do your timeshifts agree with part hint: if they dont you did something wrong
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
