Borrar filtros
Borrar filtros

writing the equation of normalize correlation

1 visualización (últimos 30 días)
Hadeel
Hadeel el 7 de Oct. de 2022
Comentada: Hadeel el 10 de Oct. de 2022
hello.please i want for writing the following equation in mathworks,how can i write it
  2 comentarios
Benjamin Thompson
Benjamin Thompson el 7 de Oct. de 2022
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 el 7 de Oct. de 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.

Iniciar sesión para comentar.

Respuesta aceptada

Torsten
Torsten el 7 de Oct. de 2022
Editada: Torsten el 7 de Oct. de 2022
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

Más respuestas (0)

Categorías

Más información sobre Images en Help Center y File Exchange.

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by