How to sum two rows at a time in matrix
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Vishal Sharma
am 19 Jun. 2017
Beantwortet: Adam
am 19 Jun. 2017
I have a matrix of size 6 by 3
A = [1 2 3; 3 4 5; 4 5 6; 5 4 3; 3 4 3; 3 2 1]
I want to make sum of two rows at a time, so as to get result
[18; 27; 16]
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Logical finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!