How to use matlab to draw such a diagram?

3 views (last 30 days)
guan wang
guan wang on 22 Mar 2023
Commented: guan wang on 22 Mar 2023
This graph is the energy spectrum of wavelet scattering coefficients. How can I draw this graph? How should the energy spectrum of an image be calculated? thank you.

Answers (1)

Sulaymon Eshkabilov
Sulaymon Eshkabilov on 22 Mar 2023
What are your given parameter values and equation?
You can use similar approach as shown in this example:
[x,y]=meshgrid(linspace(0,2*pi));
R = 5;
X = R*cos(x).*sin(y);
Y = R*sin(x).*sin(y);
Z = -R*cos(y);
surf(X,Y,Z)
colormap jet
axis on; shg
view([180 90])
  1 Comment
guan wang
guan wang on 22 Mar 2023
Thank you.It's very useful to me.
The figure is derived from the Fourier energy spectrum of a certain image.

Sign in to comment.

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!