How to use matlab to draw such a diagram?

4 vues (au cours des 30 derniers jours)
guan wang
guan wang le 22 Mar 2023
Commenté : guan wang le 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.

Réponses (1)

Sulaymon Eshkabilov
Sulaymon Eshkabilov le 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 commentaire
guan wang
guan wang le 22 Mar 2023
Thank you.It's very useful to me.
The figure is derived from the Fourier energy spectrum of a certain image.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Image Processing Toolbox dans Help Center et File Exchange

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by