Do you help me create a matrix?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Muhendisleksi
am 4 Mai 2017
Kommentiert: Muhendisleksi
am 4 Mai 2017
DNdog =
7
11
Each element of the "DNdog" matrix must repeat 3 times. How can I do that?
So I mean:
DNdog =
7
7
7
11
11
11
Is there a custom command for this?
0 Kommentare
Akzeptierte Antwort
Andrei Bobrov
am 4 Mai 2017
Bearbeitet: Andrei Bobrov
am 4 Mai 2017
out = repelem(DNdog,3) ;
or
out = kron(DNdog,[1;1;1]);
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Matrices and Arrays finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!