필터 지우기
필터 지우기

compute running correlation of the following

조회 수: 4 (최근 30일)
Michael Gaogopolwe
Michael Gaogopolwe 2022년 4월 19일
댓글: Dyuman Joshi 2022년 4월 19일
(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?
  댓글 수: 1
Dyuman Joshi
Dyuman Joshi 2022년 4월 19일
What exactly is the problem you are facing? What have you tried to solve it?

댓글을 달려면 로그인하십시오.

답변 (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