Finding energy in matlab

Energy can be found based on the matlab documentation using:
stats = graycoprops(glcm, properties)
For example, I typed this:
>> a = [1 2; 3 4]
a =
1 2
3 4
>> stats = graycoprops(a, {'energy'})
stats =
Energy: 0.3000
Here, I want to ask. If we want to do this manually, how did we get the Energy value shown above. This is the part I didn't get clearly.
Thanks.

回答(0 个)

类别

帮助中心File Exchange 中查找有关 MATLAB 的更多信息

标签

提问:

2013-1-30

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by