I don't what this function is doing in MATLAB : I was writing a code on MATLAB where by mistake, I wrote this line:

    x = rand(1:3)
And I got the following output:[![enter image description here][1]][1]


  [1]: http://i.stack.imgur.com/cStB2.png
Can someone explain me what is going on here? Is it a 3D matrix? Or something else?