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 ExchangeMATLAB Report Generator についてさらに検索

タグ

質問済み:

2013 年 1 月 30 日

Community Treasure Hunt

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

Start Hunting!

Translated by