fill a matrix from vectors
Afficher commentaires plus anciens
How I can fill matrix coefficients by vectors in matlab code
1 commentaire
Jos (10584)
le 16 Oct 2015
You lost me. Can you rephrase your question and provide an elaborated example of the input(s) and expected output?
Réponses (2)
Thorsten
le 15 Oct 2015
v1 = [1 2 3];
v2 = [3 4 5];
M = [v1; v2]
5 commentaires
kokomy
le 15 Oct 2015
Modifié(e) : Walter Roberson
le 16 Oct 2015
kokomy
le 16 Oct 2015
Walter Roberson
le 16 Oct 2015
M = [V1, V2, V3; V4, V5, V6];
??
kokomy
le 16 Oct 2015
Walter Roberson
le 16 Oct 2015
I was right, you need the link I provided about creating variables in a loop.
Walter Roberson
le 16 Oct 2015
0 votes
I have a suspicion that I need to post this:
Catégories
En savoir plus sur Multidimensional Arrays dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!