add lines cell matlab
Ältere Kommentare anzeigen
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
Akzeptierte Antwort
Weitere Antworten (1)
KSSV
am 24 Nov. 2016
0 Stimmen
Let A and B be your matrices.
iwant = A+B;
Best programmer please read basics of matlab.
Kategorien
Mehr zu Cell Arrays finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!