plotting bit sequence
3 views (last 30 days)
Show older comments
how to plot a bit sequence [0 1 0 1 0 1] with each bit time interval t=5 sec.
0 Comments
Answers (1)
Mukhtar Hussain
on 17 Jan 2012
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 Comment
Walter Roberson
on 17 Jan 2012
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.
See Also
Categories
Find more on PCM in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!