plotting bit sequence

3 views (last 30 days)
sowndharya
sowndharya on 17 Jan 2012
how to plot a bit sequence [0 1 0 1 0 1] with each bit time interval t=5 sec.

Answers (1)

Mukhtar Hussain
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
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.

Sign in to comment.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!