How to convert a vector to a matrix in Matlab?

4 Ansichten (letzte 30 Tage)
Anushka
Anushka am 7 Jul. 2015
Beantwortet: Azzi Abdelmalek am 7 Jul. 2015
How to convert a vector to a matrix in Matlab?

Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 7 Jul. 2015
a=[1 2 3 4 5 6 7 8 9]
reshape(a,3,3)

Weitere Antworten (0)

Tags

Noch keine Tags eingegeben.

Community Treasure Hunt

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

Start Hunting!

Translated by