can we store character in a matlab matrix
Afficher commentaires plus anciens
for eg:
[a1, a2, a3]:=[1,0,0];
[b1, b2, b3]:=[1,6,0];
[c1, c2, c3]:=[6,0,0];
r1 := [a1, a2, a3];
r2:=[b1, b2, b3];
r3:=[c1, c2, c3];
m = [r1; r2; r3];
whether this is correct code, if not then kindly help me
Réponses (1)
Guillaume
le 28 Sep 2015
0 votes
This is not correct code by a mile. As you've not explained what you're trying to do, as the title of your question does not appear to relate to the very incorrect code you've posted and as it's far from obvious what you're trying to do with that code it's not really possible to go any further.
I would recommend that you learn the basics of matlab. At the very least, follow the getting started tutorial.
Catégories
En savoir plus sur Logical 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!