How to do correlation between signals in Matlab?

Status
Not open for further replies.

sirdivi

Newbie level 5
Joined
Jun 17, 2010
Messages
10
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,348
Hi i have a signal that periodically repeat a structure, i need to find in that signal the structure, which i know previously. For doing that i was thinking about doing the correlation between the big signal and the signal of interest but i do not know how to implement it in matlab.
please help me!
thank you very much
 

Re: Correlation

Use the cross correlation command in MATLAB i-e
xcorr(y,z).
The peak will indicate the presence of signal of interest in that signal.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…