compute running correlation of the following

4 次查看(过去 30 天)
(Implementing and interpreting running correlation) Download the file run corr.m, which is a “skeleton” file for an implementation of the “real-time” running correlation algorithm described in Section 2.2. It accepts two input signals, performs running correlation on them, and produces the correlation signal with a length equal to the sum of the lengths of the input signals minus one.
a (Write the code) Complete the function, following the algorithm given in Section 2.2. You can use the completed demo version of the function, run corr demo.dll to check your function’s output8 . i Include your code in the MATLAB appendix of your report. (10 marks)
b (Compute running correlations) Userun corr.m to compute the running correlation between the following pairs of signals, and plot the resulting correlation signals on the same figure using subplot. i code1 and code2 (2 marks) 8
If you cannot get your function working properly, you may use run corr demo.dll to complete the rest of the assignment. 10 ii code3 and itself (2 marks)
c (Interpret a running correlation) When performing running correlation with a signal and itself, the resulting correlation signal has some special properties. Look at the correlation signal that you computed between code3 and itself.
i Is the correlation signal symmetric? (It can be shown that it should be.) (1 mark)
ii What is the maximum value of the correlation signal? How does the maximum value relate relate to the energy of code3?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Measurements and Feature Extraction 的更多信息

产品


版本

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by