3D Convolution in matlab

10 vues (au cours des 30 derniers jours)
Aoife
Aoife le 31 Août 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.

Réponse acceptée

Image Analyst
Image Analyst le 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()?

Plus de réponses (1)

Aoife
Aoife le 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!

Translated by