how to implement this equation

 채택된 답변

Youssef  Khmou
Youssef Khmou 2013년 3월 15일
편집: Youssef Khmou 2013년 3월 15일

0 개 추천

hi,
given I and J of size MxN
M=6;N=4;
I=rand(M,N);
J=rand(M,N);
II=I.^2;
JJ=J.^2;
P=I.*J; % its Element wise product !!
numerator=sum(P(:));
denominator= sqrt(sum(II(:))*sum(JJ(:)));
NCC=numerator/denominator;
the result should be : 0<=NCC<=1,

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

태그

질문:

2013년 3월 15일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by