plot conv(rect(x),rect(y)) in dimension of (x,y,z)

조회 수: 3 (최근 30일)
Pooya Pezeshkzadeh
Pooya Pezeshkzadeh 2015년 7월 2일
댓글: Pooya Pezeshkzadeh 2015년 7월 7일
Hi, I couldn't draw two dimensional convolution which is conv(rect(x),rect(y)). I want to see the 3 dimensional plot. I tried by ezplot and mesh but it says for computing 2 dimensional convolution, the arguments should be in vectors. thanks for your response. warm regards, pouya

답변 (1개)

Harsha Medikonda
Harsha Medikonda 2015년 7월 6일
For 2-Dimensional convolution matrix you can use the function 'conv2'.
'ezplot3' can be used to plot in 3D.
Please refer to the following documentation links
  댓글 수: 1
Pooya Pezeshkzadeh
Pooya Pezeshkzadeh 2015년 7월 7일
thanks for your response. my problem is that i don't know how to construct the matrix for conv2(rect(x),rect(y)) and then if i know this i am able to use mesh, ezplot3,... to plot it.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Correlation and Convolution에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by