BACK

Scalar Encoder

n
The number of bits in the output. Must be greater than or equal to w.
loading...
w
The number of bits that are set to encode a single value -- the "width" of the output signal
loading...
buckets
loading...

min
The minimum value of the input signal, inclusive.
loading...
max
The maximum value of the input signal, inclusive.
loading...

compare
Compare this encoding to the last encoding?
periodic
Use a periodic encoder.

value
Scalar value to encode.
loading...
last value
loading...
Fork me on GitHub