Output a repeating pulse signal with the input duty cycle (D) and period (P).\n\nOutput pulse is given by:\n\n y(t) = 1
Posted: Wed Mar 03, 2021 4:14 pm
Output a repeating pulse signal with the input duty cycle (D) and period (P).\n\nOutput pulse is given by:\n\n y(t) = 1 if t(k) <= t < t(k) + pw(k)\n = 0 if t(k) + pw(k) <= t < t(k) + P(k)\n\nwhere, t(k) is the time after 'k-1' pulses and pw(k) is the pulse width which is the product of the D(k) and P(k) input values at t(k): pw(k) = P(k) * D(k)\n\nTypically, pulse width should be greater than 0 and less than P(k).\n\nSelecting the 'Allow zero pulse width' checkbox configures the block to allow pulse width to become zero during simulation. However, this would require the block to have direct feedthrough and may cause algebraic loops.\n\nSelect the 'Run at fixed time intervals' checkbox to produce the output signal values at a fixed sample time interval
dialog
dialog