I need to generate digital clock pulse of the form [01010101] just like in the figure given below:

5 views (last 30 days)

Answers (1)

Harsh Mahalwar
Harsh Mahalwar on 21 Feb 2024
Hi Saswati,
I can recognise that you are trying to generate a digital clock pulse. You can use the Pulse Generator block in Simulink to achieve the same.
As you can see here, I have created a very simple Simulink model with a Pulse Generator block and an outport block.
In the image given below, you can see the parameters of the Pulse Generator block. (You can change them according to your requirement)
You can learn more about the Pulse Generator block, from the following link:
Also, you can refer to a similar question on MATLAB Answer using the following link,
I hope this helps, thanks!

Community Treasure Hunt

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

Start Hunting!