how to write this equation in Matlab?? please help
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
ghada sandoub
el 11 de Feb. de 2019
Editada: ghada sandoub
el 14 de Ag. de 2019
where Ig(x) is an image (matrix
0 comentarios
Respuesta aceptada
Bob Thompson
el 11 de Feb. de 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 comentarios
Bob Thompson
el 12 de Feb. de 2019
Editada: Bob Thompson
el 12 de Feb. de 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.
Más respuestas (0)
Ver también
Categorías
Más información sobre Creating and Concatenating Matrices en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!