All result is zero !
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Dani D
am 23 Apr. 2016
Beantwortet: Azzi Abdelmalek
am 23 Apr. 2016
Hello, I want write this formula but all result is zero :(
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/162338/image.jpeg)
input = imread('cameraman.tif');
[m , n] = size(input);
L = 255;
Xmax = L - 1 ;
Xc = 0.5;
Fe = 2;
Fd = 30;
Pmn = ones(m,n);
Pmn = double(Pmn);
for i = 1:m
for j = 1:n
Xmn = input(i,j);
Pmn(i,j)=1/((1+((Xmax-Xmn)/Fd)).^Fe);
end
end
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Transmitters and Receivers finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!