1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

3 Dimensional convolution in Matlab

  1. Apr 27, 2009 #1
    Hi, I am trying to get the 3 dimensional convolution of a 3 dimensional function with itself using Matlab.

    g(x,y,z) = h1(x,y,z) 3dconvolute with h1(x,y,z)

    As the 3d function is symmetrical in the x,y direction(a circular function), I have reduced the function to a 2 dimensional one.

    g(r,z) = h1(r,z) 3dconvolute with h1(r,z). The matlab command used is conv2(h1,h1); h1 figure attached as func1.jpg

    The center of the h1 function is in the central coordinate of the matrices. The result of the convolution looks queer as attached (func2.jpg). There is a central null region which should be the peak instead(from the simulation result shown in reference)

    Attached Files:

  2. jcsd
  3. Mar 13, 2010 #2
    i need 3*3 convolution for image(.bmp) in matlab
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Similar Discussions: 3 Dimensional convolution in Matlab
  1. Convolution in matlab (Replies: 3)