writing the equation of normalize correlation

1 次查看(过去 30 天)
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 中查找有关 Images 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by