how can I convert a binary matrix to a linear data?
110 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I have a matrix A of size 3X2. Where A(1,1)=1, A(1,2)=0, A(2,1)=1, A(2,2)=1, A(3,1)=0, A(3,2)=1. I need the data in linear array like 1 0 1 1 0 1 please help me...
0 Kommentare
Akzeptierte Antwort
Pedro Villena
am 16 Jan. 2013
Bearbeitet: Pedro Villena
am 17 Jan. 2013
reshape(A',1,[])
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Logical finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!