writing the equation of normalize correlation

1 view (last 30 days)
hello.please i want for writing the following equation in mathworks,how can i write it
Hadeel on 7 Oct 2022
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.

Sign in to comment.

Accepted Answer

Torsten on 7 Oct 2022
Edited: Torsten on 7 Oct 2022
x = 4;
y = 5;
w = rand(x,y);
wstroke = rand(x,y);
NC = sum(w.*wstroke,'all')/sum(w.^2,'all')
NC = 0.5080

More Answers (0)


Find more on Image Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by