I don't understand what a continuous pulse is. By general definition, a pulse is a single and short burst of signal. In MATLAB, you can produce a pulse as follows:
I believe Md Morshed simply meant a train of pulses or a repetitive series of pulses when he referred to "continuous pulse", i.e., instead of a one-shot or single pulse, which is what he wanted. At least that is my interpretation.
Nice solution by the way.
Hello Harald,
Don't you mean the difference between two, equal amplitude, step functions at different times not their sum?