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
2015 年 5 月 21 日
Why not just drop the first four bits instead of reading them?
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Simulink についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!