How to interpret time-scope waveforms linked to a 'buffer' block with buffer size = 2?
古いコメントを表示
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!
回答 (1 件)
カテゴリ
ヘルプ センター および File Exchange で Sources についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!