Friday, November 22, 2019

Re: pulse waveform

On 11/22/2019 08:14 PM, Kevin Reid wrote:
On Fri, Nov 22, 2019 at 12:37 PM sarandis. Doulgeris <sarandis.doulgeris@gmail.com> wrote:
Can anyone tell me how to change the duty cycle of the Square Signal Source?

The Signal Source block does not support pulse width control.

You could use the Vector Source block to produce a pulse, specifying the vector like: ([1] * n_on_samples + [0] * n_off_samples)

I have done this in the past, and it works very well.  I used it for a pulsar simulation.


No comments:

Post a Comment