The Stack Overflow podcast is back! Listen to an interview with our new CEO.

# Questions tagged [quantization]

The tag has no usage guidance.

62 questions
Filter by
Sorted by
Tagged with
1answer
223 views

### Optimal amplitude of an $m$-bit sinusoid

A continuous-time sinusoid of zero-to-peak real amplitude $A \le 2^{m-1}-0.5$ (e.g., for $m=16$, $A \le 32767.5$) is quantized to $m$-bit resolution by rounding it to the nearest integer (Fig. 1). ...
1answer
4k views

### Compute SQNR (Signal to Quantization Noise Ratio)

I'm studying the quantization of an audio signal and in particular the SQNR (Signal to Quantization Noise Ratio). The book on which the study says that: where: N is the number of bits in the ...
1answer
366 views

### What is “hard quantization” strategy?

I am working on classification and several times I encountered with this term. What is hard quantization strategy? What does it differ from soft approach?
3answers
302 views

### Precise 5th and 7th harmonics of a sampled sine wave

Does anyone know in decibels (to 1/100th of a dB) what the theoretical 3rd, 5th and 7th harmonic of a 0dB fs 24-bit (i.e. full-level; 0dB = -8,388,607 to 8,388,607) sampled sine wave without dither ...
2answers
80 views

### What distribution is the easiest to compress?

I'm currently playing around with some compression algorithms and I'm asking myself if there is a type of data distribution / noise distribution that is easier to target with quantization (meaning ...
4answers
315 views

### Is it theoretically possible to perfectly quantize a continuous signal?

So, I'm completely new to digital signal processing, but while reading a piece this morning about quantization it got me daydreaming: could a machine ever be fast enough to sample the position and ...
4answers
1k views

### Why does D/A Quantization Error Result in a Noise Floor from a Physics Perspective

For the last week or so I have been trying to understand how quantization error results in the noise floor outside of a mathematical perspective and I haven't really had any luck finding a source that ...
1answer
31k views

1answer
16 views

### How good is the Leech lattice for AWGN coding or MSE quantization of Gaussian sources?

Anyone know where to find graphs showing how well it works vs other schemes? thanks
1answer
41 views

### THD requirement for generated sine

I need to generate a sine signal using a DAC with a certain THD specification, say 0.1% @ 1KHz. As a first approach I’m considering it to be an ideal DAC along with an ideal LPF for aliasing removal ...
1answer
781 views

### how to implement a one bit quantizer in simulink?

I am trying to implement a delta sigma modulator block diagram in matlab simulink but can't find a 1 bit quantizer (which is required in the modulator) anywhere . Could anyone please tell me how to go ...
1answer
546 views

### Quantization error in sampling

Consider the analog signal, $$x(t) = 2\cos(3000\pi t)+3\sin(4000\pi t)+7\cos(6000\pi t)$$ If the sampling rate is 8000 samples per second and quantized at 8 bits, find: Discrete values at any two ...
1answer
9k views

### Analog to digital conversion using Python

I'm a beginner. I try emulate analog signal conversion to digital (including sampling by time and quantizing by level) using Python. Here is my code: ...