Accepted 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);

More Answers (0)

Categories

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!