Should the discrete 2D convolution from MATLAB be multiplied with twice the nodal step size ?
조회 수: 2 (최근 30일)
이전 댓글 표시
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
채택된 답변
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Waveform Generation에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!