WHAT DOES THIS MEAN?

1 Ansicht (letzte 30 Tage)
monalisa  ghosh
monalisa ghosh am 5 Feb. 2015
Beantwortet: Guillaume am 5 Feb. 2015

Akzeptierte Antwort

Guillaume
Guillaume am 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);

Weitere Antworten (0)

Kategorien

Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by