how to convert serial binary to parallel?
古いコメントを表示
x=randi([0:1],1,100);
this gives binary data in serial i want to convert it in to serial. and make packet of 8 bits each to fed to IFFT Block in ofdm transmitter. please give code to achieve it
回答 (2 件)
Jan
2014 年 2 月 23 日
randi does not create "binary data" but a vector of type double with integer values. I do not understand what "serial" means in:
gives binary data in serial i want to convert it in to serial
Perhaps you want:
u = uint8(x);
and the serial or fwrite command to send the data to the serial interface?
2 件のコメント
vinayak kakkalameli
2014 年 2 月 23 日
Jan
2014 年 2 月 23 日
I do not understand, what you are looking for. What exactly is "input serial binary"?
Walter Roberson
2014 年 2 月 23 日
0 投票
カテゴリ
ヘルプ センター および File Exchange で Clocks and Timers についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!