필터 지우기
필터 지우기

Regarding bit generator

조회 수: 3 (최근 30일)
Sriharsha
Sriharsha 2012년 2월 22일
댓글: Muthukumar Ganesan 2022년 8월 20일
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
Bello Abdullahi Muhammad
Bello Abdullahi Muhammad 2022년 8월 18일
I also need a block that can generate with these value [1 0 1 1 0 1]

댓글을 달려면 로그인하십시오.

답변 (1개)

Muthukumar Ganesan
Muthukumar Ganesan 2022년 8월 20일
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
Walter Roberson
Walter Roberson 2022년 8월 20일
Muthukumar Ganesan
Muthukumar Ganesan 2022년 8월 20일
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.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Sources에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by