add lines cell matlab
Afficher commentaires plus anciens
i have two edit texts,they show the vectors :
1 1 1 1 and 1 -1 1 1
-1 1 1 1 -1 1 1 -1
how can i add the two first lines together and the two secondes lines together and the result is :
2 0 2 2
0 2 2 0
Réponse acceptée
Plus de réponses (1)
KSSV
le 24 Nov 2016
0 votes
Let A and B be your matrices.
iwant = A+B;
Best programmer please read basics of matlab.
Catégories
En savoir plus sur Cell Arrays dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!