plotting bit sequence
6 次查看(过去 30 天)
显示 更早的评论
how to plot a bit sequence [0 1 0 1 0 1] with each bit time interval t=5 sec.
0 个评论
回答(1 个)
Mukhtar Hussain
2012-1-17
Check my code PCM complete (part encoding message). I hope you can understand. If not then tell me. "stairs" command will not work in this case.
1 个评论
Walter Roberson
2012-1-17
The case is insufficiently defined to say whether stairs will work or not. The question does not specify whether the signaling protocol is "hold last value" or "return to zero" or "return to ground", and in the return-to-something cases we need to know the bit width, not just the transmission interval.
In the simplest interpretation of the question, stairs([X X(end)]) is sufficient.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 PCM 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!