Should the discrete 2D convolution from MATLAB be multiplied with twice the nodal step size ?
2 views (last 30 days)
Show older comments
I am right now trying to verify the usage of "conv2" function in MATLAB to calculate two-dimensional convolution. My application area is not related to image processing or machine learning.
I set up a small test case where I have convolved two 2D Gaussian functions of different magnitudes. The convolution should be a Gaussian and it is what MATLAB generates.
I have discretized the nodal spacing with a value of "delta" in X and Y directions. Am I correct when I say that the final output of "conv2" should always be multiplied by "delta * delta" ? I am understanding this in terms of Riemann integral where the integration is calculated from first principles. Not sure if this is the correct way to think.
My test case's results are matching with the symbolic result from MATHEMATICA but, after the output of "conv2" is multiplied by "delta*delta".
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Waveform Generation in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!