WHAT DOES THIS MEAN?

1 visualizzazione (ultimi 30 giorni)
monalisa  ghosh
monalisa ghosh il 5 Feb 2015
Risposto: Guillaume il 5 Feb 2015

Risposta accettata

Guillaume
Guillaume il 5 Feb 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);

Più risposte (0)

Categorie

Scopri di più su Creating and Concatenating Matrices in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by