3D Convolution in matlab

13 views (last 30 days)
Aoife
Aoife on 31 Aug 2012
Is there a 3D equivalent of the conv2 function in matlab?
I have two 3D matrices that I'd like to convolve together. I know I could code it up in loops but keeping track of the origin is a bit tricky and I thought there must be an existing solution.

Accepted Answer

Image Analyst
Image Analyst on 1 Sep 2012
Did you scroll all the way to the bottom of the conv2 help to the "See also" section? Did you happen to see the link to convn()?

More Answers (1)

Aoife
Aoife on 4 Sep 2012
Yes, and no. Next time I'll read more carefully! Thanks for pointing it out.

Community Treasure Hunt

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

Start Hunting!