how to make fft2 surf plot with z axis in dB?
Afficher commentaires plus anciens
i tried to normalize this matrix with the maximum
and: p=10*log10(p);
but i get mess
how can i avoid that?
Réponse acceptée
Plus de réponses (2)
Youssef Khmou
le 20 Nov 2014
This problem does not occur with the following test :
H=exp(-randn(10).^2);
F=abs(fftshift(fft2(H,200,200)));
F=F/max(F(:));
surf(20*log10(F));
try abs() as mentioned earlier .
Kobi
le 20 Nov 2014
Modifié(e) : Star Strider
le 20 Nov 2014
Catégories
En savoir plus sur Labels and Annotations dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
