corr2() - Image Processing
r = corr2(A,B) returns the
correlation coefficient r between A and B,
where A and B are matrices or
vectors of the same size. r is a scalar double.r = corr2(gpuarrayA,gpuarrayB) performs
the operation on a GPU. The input images are 2-D gpuArrays of the
same size. r is a scalar double gpuArray.
This syntax requires the Parallel Computing Toolbox™.
r = corr2(A,B)r = corr2(gpuarrayA,gpuarrayB)
You can give an example if you know one.
Output / Return Value
Alternatives / See Also