Calculating DC Offset for 19 High Bits Followed by Low Bit

2 replies · 8K views · last reply
Chrispp
Messages
8
Reaction score
0
If I have a string of 19 continuous bits 'high' followed by a bit 'low', how do I calculate the DC Offset if the pattern is repeated? Is it just [(19 - 1)*(the amplitude)]/(20)?

Thanks for the help.
Chris
 
Yes, that looks correct. You are just calculating the average value -- that would be the DC offset.
 
DC offset??
Don't you mean equivilent DC voltage value?
This would be the RMS value in a sine wave.

AFAIK DC offset has to do with symmetry of the waveform around 0.
It would be 50% of the high value if the low value is 0.