Hi,
Having some trouble wrapping my mind around this, so I thought i would try to ask here.
I generated a square wave waveform with the following equation:
v = (4/∏) * ( sin(2∏ft) + (1/3)sin(6∏ft) + (1/5)sin(10∏ft))
This gives an approximate square wave with a duty cycle of 50%.
My question is, how can i alter this equation such that i can control the duty cycle of the output?
Having some trouble wrapping my mind around this, so I thought i would try to ask here.
I generated a square wave waveform with the following equation:
v = (4/∏) * ( sin(2∏ft) + (1/3)sin(6∏ft) + (1/5)sin(10∏ft))
This gives an approximate square wave with a duty cycle of 50%.
My question is, how can i alter this equation such that i can control the duty cycle of the output?