I Need the matlab code for the attach equation.
Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Ältere Kommentare anzeigen
Antworten (2)
Jan
am 20 Okt. 2017
A = mean(sub_band(:) .^ 2);
2 Kommentare
tania manna
am 20 Okt. 2017
Jan
am 21 Okt. 2017
The first is a scalar already, so the second mean() has no effect.
Torsten
am 20 Okt. 2017
[p q] = size(sub_band);
A = sum(diag(sub_band.'*sub_band))/(p*q);
Best wishes
Torsten.
Diese Frage ist geschlossen.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!