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?



T_b, the signal maintains a value of 0), but your explanation of those signals seems to indicate that the signals are periodic (e.g., everyT_bseconds, you have the same pattern); is this true? - Rody Oldenhuis