How can i obtain such 3-D meshgrid image of ...
3 views (last 30 days)
Show older comments
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
0 Comments
Answers (1)
See Also
Categories
Find more on Multirate Signal Processing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!