MATLAB: WHAT DOES THIS MEAN

matrix

d = d( : )

Best Answer

: is the colon operator. As per the documentation:
A(:) is all the elements of A, regarded as a single column.
So, your line just reshapes d as a single column. It is equivalent to
d = reshape(d, [], 1);
Related Question