I Need the matlab code for the attach equation.
Infos
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Afficher commentaires plus anciens
Réponses (2)
Jan
le 20 Oct 2017
A = mean(sub_band(:) .^ 2);
2 commentaires
tania manna
le 20 Oct 2017
Jan
le 21 Oct 2017
The first is a scalar already, so the second mean() has no effect.
Torsten
le 20 Oct 2017
[p q] = size(sub_band);
A = sum(diag(sub_band.'*sub_band))/(p*q);
Best wishes
Torsten.
Cette question est clôturée.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!