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

6 visualizaciones (últimos 30 días)
Pooya Pezeshkzadeh
Pooya Pezeshkzadeh el 2 de Jul. de 2015
Comentada: Pooya Pezeshkzadeh el 7 de Jul. de 2015
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

Respuestas (1)

Harsha Medikonda
Harsha Medikonda el 6 de Jul. de 2015
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 comentario
Pooya Pezeshkzadeh
Pooya Pezeshkzadeh el 7 de Jul. de 2015
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.

Iniciar sesión para comentar.

Community Treasure Hunt

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

Start Hunting!

Translated by