How can i obtain such 3-D meshgrid image of ...

2 visualizaciones (últimos 30 días)
ZhG
ZhG el 22 de Jun. de 2013
Hello,
Acutally, I want to generate a 3-D plot for a Gabor filter's (2D matrix) real part and imaginary part. But I don't know how to do so. For example, I calculate the real and imaginary parts of a Gabor filter which are like:
GR = M-by-M matrixGr =
Columns 1 through 6
0.0000 -0.0000 -0.0000 0.0000 0.0000 -0.0000
-0.0000 -0.0000 0.0000 0.0000 -0.0000 0.0000
-0.0000 0.0000 0.0000 -0.0000 0.0000 0.0000
0.0000 0.0000 -0.0000 0.0000 0.0000 -0.0001
0.0000 -0.0000 0.0000 0.0000 -0.0002 -0.0008
-0.0000 0.0000 0.0000 -0.0001 -0.0008 0.0051
0.0000 0.0000 -0.0000 -0.0002 0.0028 0.0021
0.0000 -0.0000 -0.0000 0.0005 0.0006 -0.0086
-0.0000 -0.0000 0.0000 0.0001 -0.0014 0.0006
-0.0000 0.0000 0.0000 -0.0001 0.0001 0.0005
0.0000 0.0000 -0.0000 0.0000 0.0000 -0.0000
0.0000 -0.0000 0.0000 0.0000 -0.0000 -0.0000
-0.0000 0.0000 0.0000 -0.0000 -0.0000 0.0000
Columns 7 through 12
0.0000 0.0000 -0.0000 -0.0000 0.0000 0.0000
0.0000 -0.0000 -0.0000 0.0000 0.0000 -0.0000
-0.0000 -0.0000 0.0000 0.0000 -0.0000 0.0000
-0.0002 0.0005 0.0001 -0.0001 0.0000 0.0000
0.0028 0.0006 -0.0014 0.0001 0.0000 -0.0000
0.0021 -0.0086 0.0006 0.0005 -0.0000 -0.0000
-0.0158 0.0021 0.0028 -0.0002 -0.0000 0.0000
0.0021 0.0051 -0.0008 -0.0001 0.0000 0.0000
0.0028 -0.0008 -0.0002 0.0000 0.0000 -0.0000
-0.0002 -0.0001 0.0000 0.0000 -0.0000 0.0000
-0.0000 0.0000 0.0000 -0.0000 0.0000 0.0000
0.0000 0.0000 -0.0000 0.0000 0.0000 -0.0000
0.0000 -0.0000 0.0000 0.0000 -0.0000 -0.0000
Column 13
-0.0000
0.0000
0.0000
-0.0000
-0.0000
0.0000
0.0000
-0.0000
0.0000
0.0000
-0.0000
-0.0000
0.0000

Respuestas (1)

Walter Roberson
Walter Roberson el 22 de Jun. de 2013
Why not
mesh(GR)
?

Community Treasure Hunt

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

Start Hunting!

Translated by