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

3 次查看(过去 30 天)
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.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Electrical Block Libraries 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by