how can I convert a binary matrix to a linear data?
70 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Pedro Villena
2013-1-16
编辑:Pedro Villena
2013-1-17
reshape(A',1,[])
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Resizing and Reshaping Matrices 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!