Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Correlation vs Convolution

Subject: Correlation vs Convolution

From: mshahrashoub shahrashoub

Date: 30 Aug, 2010 07:23:07

Message: 1 of 2

Hi,

I want to ask, are there any way to make a convolution or correlation in matlab for single vector. I have Matlab R2010a with Image processing toolbox.



Example : X = [0.0069 0.0069 0.0069 0.0069 0.0069 -0.4952 -1.9891] % Vector 1*n

My problem is: I have a vector which I show in above and I want to see are there any correlation exist between this numbers. If it is exist I want to fix this numbers regarding of correlation or convolution.

Subject: Correlation vs Convolution

From: ImageAnalyst

Date: 30 Aug, 2010 10:10:41

Message: 2 of 2

You can use xcorr() or conv() depending on whether you want
correlation or convolution.

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us