how to write this equation in Matlab?? please help
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
ghada sandoub
il 11 Feb 2019
Modificato: ghada sandoub
il 14 Ago 2019
where Ig(x) is an image (matrix
0 Commenti
Risposta accettata
Bob Thompson
il 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 Commenti
Bob Thompson
il 12 Feb 2019
Modificato: Bob Thompson
il 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.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Creating and Concatenating Matrices in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!