WHAT DOES THIS MEAN?

1 vue (au cours des 30 derniers jours)
monalisa  ghosh
monalisa ghosh le 5 Fév 2015

Réponse acceptée

Guillaume
Guillaume le 5 Fév 2015
: 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);

Plus de réponses (0)

Catégories

En savoir plus sur Creating and Concatenating Matrices dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by