title: Matlab Co-occurrence Matrix
body: <p>I'm sure this is a very simple mistake by me somewhere! But when I use Matlab's <code>graycomatrix</code> function, I don't get the expected result. Instead of a matrix output I expect, I always get an 8 x 8 (nearly) zero matrix with one entry in the bottom right - usually equal to 16. I haven't changed the default settings or used 'offset', so I'm not too sure what the problem is.</p>