How does bsxfun actually work ?
I tried to multiply two matrices using bsxfun. Here is a sample code.
a = [0,1];
b = [1,2];
q = bsxfun(@times, a, b);
...
How to plot a 2D histogram of pixel pairs ?
I have a 'M by 2' matrix consisting of pixel pairs in an image. I want to find which pixel pairs occur more frequently. For this...