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

조회 수: 1 (최근 30일)
ZhG
ZhG 2013년 6월 22일
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

답변 (1개)

Walter Roberson
Walter Roberson 2013년 6월 22일
Why not
mesh(GR)
?

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by