how to make fft2 surf plot with z axis in dB?
이전 댓글 표시
i tried to normalize this matrix with the maximum
and: p=10*log10(p);
but i get mess
how can i avoid that?
채택된 답변
추가 답변 (2개)
Youssef Khmou
2014년 11월 20일
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
2014년 11월 20일
편집: Star Strider
2014년 11월 20일
카테고리
도움말 센터 및 File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
