this post was submitted on 16 Jul 2023
36 points (63.6% liked)

Showerthoughts

29678 readers
1573 users here now

A "Showerthought" is a simple term used to describe the thoughts that pop into your head while you're doing everyday things like taking a shower, driving, or just daydreaming. A showerthought should offer a unique perspective on an ordinary part of life.

Rules

  1. All posts must be showerthoughts
  2. The entire showerthought must be in the title
  3. Avoid politics
    1. NEW RULE as of 5 Nov 2024, trying it out
    2. Political posts often end up being circle jerks (not offering unique perspective) or enflaming (too much work for mods).
    3. Try c/politicaldiscussion, volunteer as a mod here, or start your own community.
  4. Posts must be original/unique
  5. Adhere to Lemmy's Code of Conduct-----

founded 1 year ago
MODERATORS
 

Guys it's been 8 months. It was a bad take.

you are viewing a single comment's thread
view the rest of the comments
[–] Atemu@lemmy.ml -2 points 1 year ago (2 children)

Quantisation is a potential factor but the graph does not show its effects and their comment describes the supposed effects sampling, not quantisation.

Also, when we come to discussing SNR, you'll have to consider the SNR of analog systems too.

[–] qjkxbmwvz@lemmy.sdf.org 2 points 1 year ago (1 children)

The graph posted absolutely exhibits both quantization and discrete sampling. The blue trace on the Y-axis shows steps of 1


that's quantization.

[–] Atemu@lemmy.ml 1 points 1 year ago

I should have been more clear: The negative effects of quantisation. Obviously sampling into discrete values is shown but not the negative consequences that can have.
A DAC interpreting the blue trace will output something extremely close to the red one. There might be a slight bit of error in it due to the quantisation before but the graph does not show that and it probably couldn't since it'd be so tiny. A good way to show quantisation noise would be a histogram with a signal in the middle and some quantisation noise around it.

The DAC would not output the jaggy line. It couldn't, that's not a valid analog signal. Painting the steps between the points can be done if your audience knows what that means but can be extremely misleading if it doesn't. Those lines between the points with 90 degree angles don't exist in the real world, they're just interpolated between the points in the visualisation.
A much better way to represent digital samples in such a chart is the way it's done in the wikipedia article on the topic: https://en.wikipedia.org/wiki/Sampling_(signal_processing). They're just discrete points. If you did the same interpolation between the points as a DAC would do (which is not nearest-neighbour interpolation), you'd get the analog trace shown.