How do I write a code which will detect the input pulses as a bit?

I have pulse train as 1010111111111100. Sample rate of the pulse as same as sampling time of the simulink model. I want to know that how can I write a code which will read first 4 bit(10 10) then will give output as like as input(0000111111111100) without first 4 bit and then will stop after getting the the bit 00.

1 件のコメント

Walter Roberson
Walter Roberson 2015 年 5 月 21 日
Why not just drop the first four bits instead of reading them?

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeSimulink についてさらに検索

質問済み:

2015 年 5 月 21 日

コメント済み:

2015 年 5 月 21 日

Community Treasure Hunt

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

Start Hunting!

Translated by