i have string matrix which contains Row and Column. so how i can change one Row
1 次查看(过去 30 天)
显示 更早的评论
hello i have string matrix which contains Row and Column. so how i can change one Row
Bits_com='
000001001001
010111100101
111111001101
001111001101
000000010000
001011011110
100110101001
010101000111
001111110101
111010010000
110010111110
111110000000
000000000000
as one row
convert=
000001001001010111100101111111001101001111001101000000010000001011011110100110101001010101000111001111110101111010010000110010111110111110000000000000000000
2 个评论
Chad Greene
2015-5-19
Can you explain your question more thoroughly? What exactly are you trying to do? Be specific.
采纳的回答
Andrei Bobrov
2015-5-19
reshape(Bits_com',1,[])
2 个评论
Stephen23
2015-5-19
@abdulkarim hassan: Andrei Bobrov's solution is much better than using nested loops.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!