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!