I Need the matlab code for the attach equation.
Informazioni
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
Mostra commenti meno recenti
Risposte (2)
Jan
il 20 Ott 2017
A = mean(sub_band(:) .^ 2);
2 Commenti
tania manna
il 20 Ott 2017
Jan
il 21 Ott 2017
The first is a scalar already, so the second mean() has no effect.
Torsten
il 20 Ott 2017
[p q] = size(sub_band);
A = sum(diag(sub_band.'*sub_band))/(p*q);
Best wishes
Torsten.
Questa domanda è chiusa.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!