how to write this equation in Matlab?? please help
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
ghada sandoub
am 11 Feb. 2019
Bearbeitet: ghada sandoub
am 14 Aug. 2019
where Ig(x) is an image (matrix
0 Kommentare
Akzeptierte Antwort
Bob Thompson
am 11 Feb. 2019
sigma = (I/eta).*sum(sqrt(ln((Imax(range)+Imin(range))./(Imax(range)-Imin(range))));
Something like this. Your 'range' is going to be the different values of x you want. Most everything else should just be filling in variables.
3 Kommentare
Bob Thompson
am 12 Feb. 2019
Bearbeitet: Bob Thompson
am 12 Feb. 2019
You can apply the summation across multiple x values by defining your 'range' to cover those values. sum() just adds up all the values of the interior array.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Creating and Concatenating Matrices 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!