How to interpret time-scope waveforms linked to a 'buffer' block with buffer size = 2?
Mostrar comentarios más antiguos
Hi all. Just requesting some kind help regarding the usage of the 'buffer' block in my really simple .mdl simulink file.
My setup is just a random number generator that generates 10 random binary bits. Then I observe the generates bits with a time scope.
The generated 10 bits are then run through a buffer (with buffer size equal to 2). Then, the output of the buffer is taken to a "Convert 2D to 1D" block, and then I use another time scope to observe the output of that "2D to 1D" block.
I was expecting that the output of the '2D to 1D' block to have the same bit pattern as the initially generated 10 bits. But instead, the display on the time scope shows 2 different waveforms (one purple colour and one yellow colour).
Could I ask if anyone can help me understand the meaning of those two coloured waveforms, and how they relate to the original 10 bit random pattern?
Thanks very much in advance!
Respuestas (1)
Categorías
Más información sobre Sources en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!