writing the equation of normalize correlation

조회 수: 1 (최근 30일)
Hadeel
Hadeel 2022년 10월 7일
댓글: Hadeel 2022년 10월 10일
hello.please i want for writing the following equation in mathworks,how can i write it
  댓글 수: 2
Benjamin Thompson
Benjamin Thompson 2022년 10월 7일
Are you asking how to implement the correlation in MATLAB code, or are you asking how to enter the equation into the MATLAB Symbolic Toolbox?
The MATLAB function for the numerical calculation is xcorr2.
Hadeel
Hadeel 2022년 10월 7일
sir i want for writing the equetion in my program not in mathworks tools.i want for writing in my hand no by exist function.

댓글을 달려면 로그인하십시오.

채택된 답변

Torsten
Torsten 2022년 10월 7일
편집: Torsten 2022년 10월 7일
rng('default')
x = 4;
y = 5;
w = rand(x,y);
wstroke = rand(x,y);
NC = sum(w.*wstroke,'all')/sum(w.^2,'all')
NC = 0.5080

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Image Filtering and Enhancement에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by