how to write this equation in Matlab?? please help
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
ghada sandoub
le 11 Fév 2019
Modifié(e) : ghada sandoub
le 14 Août 2019
where Ig(x) is an image (matrix
0 commentaires
Réponse acceptée
Bob Thompson
le 11 Fév 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 commentaires
Bob Thompson
le 12 Fév 2019
Modifié(e) : Bob Thompson
le 12 Fév 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.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Matrix Indexing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!