fill a matrix from vectors
Ältere Kommentare anzeigen
How I can fill matrix coefficients by vectors in matlab code
1 Kommentar
Jos (10584)
am 16 Okt. 2015
You lost me. Can you rephrase your question and provide an elaborated example of the input(s) and expected output?
Antworten (2)
Thorsten
am 15 Okt. 2015
v1 = [1 2 3];
v2 = [3 4 5];
M = [v1; v2]
5 Kommentare
kokomy
am 15 Okt. 2015
Bearbeitet: Walter Roberson
am 16 Okt. 2015
kokomy
am 16 Okt. 2015
Walter Roberson
am 16 Okt. 2015
M = [V1, V2, V3; V4, V5, V6];
??
kokomy
am 16 Okt. 2015
Walter Roberson
am 16 Okt. 2015
I was right, you need the link I provided about creating variables in a loop.
Walter Roberson
am 16 Okt. 2015
0 Stimmen
I have a suspicion that I need to post this:
Kategorien
Mehr zu Multidimensional Arrays finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!