how to make fft2 surf plot with z axis in dB?
Show older comments
i tried to normalize this matrix with the maximum
and: p=10*log10(p);
but i get mess
how can i avoid that?
Accepted Answer
More Answers (2)
Youssef Khmou
on 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
on 20 Nov 2014
Edited: Star Strider
on 20 Nov 2014
Categories
Find more on Labels and Annotations in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!