I Need the matlab code for the attach equation.
情報
この質問は閉じられています。 編集または回答するには再度開いてください。
古いコメントを表示
回答 (2 件)
Jan
2017 年 10 月 20 日
A = mean(sub_band(:) .^ 2);
2 件のコメント
tania manna
2017 年 10 月 20 日
Jan
2017 年 10 月 21 日
The first is a scalar already, so the second mean() has no effect.
Torsten
2017 年 10 月 20 日
[p q] = size(sub_band);
A = sum(diag(sub_band.'*sub_band))/(p*q);
Best wishes
Torsten.
0 件のコメント
この質問は閉じられています。
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!