How to check if each two successive rows are identical?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Sarah A
am 5 Jan. 2019
Kommentiert: Sarah A
am 5 Jan. 2019
Hello,
Suppose that we have the matrix A(300*100) where each two "successive" rows should be identical, So I want to get another matrix B(150*1) where the first element is one if row 1 and row 2 are identical. And in the second element is zero if row 3 and row 4 are not identical. Can anybody help me in that?
regards,
2 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Operators and Elementary Operations 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!