Filter löschen
Filter löschen

Regarding bit generator

3 Ansichten (letzte 30 Tage)
Sriharsha
Sriharsha am 22 Feb. 2012
Hi ,
i have an application where i need a bit-by-bit generation.
Suppose i have a constant block with value [1 0 1 1 0 1], then i need a pulse wave form corresponding to the values in my constant block.
Please help me..
  1 Kommentar
Bello Abdullahi Muhammad
Bello Abdullahi Muhammad am 18 Aug. 2022
I also need a block that can generate with these value [1 0 1 1 0 1]

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Muthukumar Ganesan
Muthukumar Ganesan am 20 Aug. 2022
Hi,
Please use "Serializer1D" block which is introduced in R2014b.
Configure the parameter "Ratio" and Idle Cycles
From your example "[1 0 1 1 0 1]", Ratio = 6 and Idle Cycles = 0
Note: For earlier matlab versions, we have to write our own logic using counter and Multiport switch
Hope this helps. Thanks.
  2 Kommentare
Walter Roberson
Walter Roberson am 20 Aug. 2022
Muthukumar Ganesan
Muthukumar Ganesan am 20 Aug. 2022
Hi,
Yes, this block also can be used if the vector is a constant data defined as parameter i.e., not a run time data. If the vector content changes during run time then the source blocks cannot be used.
Thanks.

Melden Sie sich an, um zu kommentieren.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by