add lines cell matlab
Mostrar comentarios más antiguos
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
Respuesta aceptada
Más respuestas (1)
KSSV
el 24 de Nov. de 2016
0 votos
Let A and B be your matrices.
iwant = A+B;
Best programmer please read basics of matlab.
Categorías
Más información sobre Cell Arrays en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!