Error Detection and Digital Signals
-
Sampling a Signal at Discrete Times
A sample records a signal value at a specified time. The spacing and start time determine which parts of a changing signal are observed.
-
Sampling Rate and Sample Interval
For regular sampling, rate is the reciprocal of the interval. Its unit of samples per second describes how often observations are taken.
-
Two Signals Can Have the Same Samples
Sampling observes discrete points, and different continuous signals can agree at every selected point.
-
Aliasing of Two Sampled Frequencies
Different continuous frequencies can produce the same discrete samples under a fixed sampling rate.
-
Amplitude, Period, and Phase of a Sinusoid
Amplitude describes scale, period describes the repeat interval, and phase shifts where a repeating pattern begins.
-
Frequency in Cycles Per Sample
A sampled signal can describe frequency relative to the sample rate so each successive index advances by a known phase.
-
Delaying a Discrete Sequence
A delay shifts a sequence's dependence to an earlier index, with a separate rule for positions before the source begins.
-
A Discrete Impulse Sequence
A discrete unit impulse has value one at one index and zero elsewhere. It can isolate how a system responds to one concentrated input.
-
Superposition in a Linear System
A linear system responds to a weighted sum of inputs by the same weighted sum of their separate responses.
-
Convolving Two Short Sequences
Discrete linear convolution combines input and kernel values whose indices add to the current output index.
-
A Moving Average on a Step Change
A moving average spreads an abrupt change across the samples included in its window.
-
Energy of a Finite Discrete Signal
A common discrete energy measure sums squared magnitudes over the samples in the stated interval.
-
Removing the Mean of a Discrete Signal
Subtracting the sample mean removes the constant component under that finite observation's averaging convention.
-
Choosing a Finite Observation Window
A measured signal segment selects a start, end, and possible weights. These choices determine which part of the source supports an estimate.
-
Saturation Changes a Signal's Shape
When a measurement or output is limited to a range, values outside it can be clamped to the nearest permitted endpoint.
-
Locating an Event Between Sampling Times
A discrete trace can bracket when a change occurred without revealing its exact time inside the interval.
-
An Even Parity Bit by Example
An even parity bit is chosen so the total number of set bits in a codeword with its parity field is even.
-
Which Changes a Parity Check Detects
A parity check detects an odd number of bit flips in its protected word. Even numbers of flips can preserve the original parity.
-
Hamming Distance Between Bit Strings
Hamming distance counts how many corresponding positions differ between words of equal length.
-
Minimum Code Distance and Error Detection
Use the closest pair of valid codewords to determine how many flipped bits a code is guaranteed to detect.
-
Correcting One Flip with Three Repeated Bits
A three-bit repetition code can decode by majority, giving the original bit when no more than one of the three positions flips.
-
A Known Erasure and an Unknown Error
An erasure identifies a missing or invalid position. An error may alter a value without revealing which position changed.
-
A Simple Modular Checksum
A simple checksum can sum fields and retain a remainder. It detects some changes while different input tuples may share one result.
-
Parity Across Field Positions
Applying parity across a chosen collection of positions can check any odd number of changes within that collection, regardless of their individual field roles.
-
Detecting an Incomplete Encoded Frame
Before interpreting a payload, a reader can check whether its expected length and any required trailer are present.
-
Error Detection and Retransmission
A check can report an unusable message. A separate protocol can request another copy if the caller still needs the data and time remains.
-
Checking a Code's Promised Response to One Flipped Bit
A small code fixture can verify its documented single-error behavior by changing one position at a time in a known encoded word.
-
When a Missing Bit Changes Later Boundaries
An insertion or deletion can shift remaining positions. A check designed for substitutions may need additional framing support.
-
Reporting Signal Values and Measurement Noise
A signal report can distinguish measured values, a fitted trend, and a stated noise or residual measure.
-
Checking a Sampling Pipeline with a Known Signal
A signal test can use a known simple source to verify sampling times, value scale, and downstream processing.