MATLAB: How to generate these signals in Simulink

communicationdigital signal processingMATLABsignal processingsimulink

The signals are :
Tb is bit time = 0.001s Basically. First is square wave with 50% duty cycle and second is with 100 percent duty cycle. I tried using Pulse Generator, it is not giving me negative output and it does not let me choose 100 for duty cycle.
How can I do this in Simulink?

Best Answer

See the attached model. Hope it helps.
Related Question