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!