필터 지우기
필터 지우기

How to obtain a cross correlation function for a signal

조회 수: 6 (최근 30일)
Kushal Chode
Kushal Chode 2021년 7월 15일
답변: Devanuj Deka 2021년 7월 15일
Hi,
I am trying to generated a k-w (wavenumber-frequency) spectra graph for a pressure fluctuations that are extracted at uniform time-interval and at equi distant point.
The pressure data is in a matrix form: where the rows present the time and columns the points at which the data is generated. P(T,N).
Now I want to find the cross-correlation for the matrix p(t,n) such as i get another singal where I get P(T+t,N+n) where t is the time delay and n is distance vector.
and further I need to perform a CPSD on P(T,N) and P(T+t,N+n)

답변 (1개)

Devanuj Deka
Devanuj Deka 2021년 7월 15일
You can refer to xcorr(x,y) and xcorr2(a,b) for 1-D and 2-D cross-correlation functions respectively, and see if you can work with those.
For CPSD, check this out: cpsd(x,y)

카테고리

Help CenterFile Exchange에서 Signal Generation and Preprocessing에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by