how to implement this equation
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I have a equation,kindly tell how to implement this equation
0 Kommentare
Akzeptierte Antwort
Youssef Khmou
am 15 Mär. 2013
Bearbeitet: Youssef Khmou
am 15 Mär. 2013
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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Develop Apps Using App Designer finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!