how to write this equation in Matlab?? please help
1 次查看(过去 30 天)
显示 更早的评论
where Ig(x) is an image (matrix
0 个评论
采纳的回答
Bob Thompson
2019-2-11
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 个评论
Bob Thompson
2019-2-12
编辑:Bob Thompson
2019-2-12
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.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!