CalcWorldHub
Free online calculator · no signup

Unwrapped phase slope frequency estimate calculator

Estimate a narrowband signal frequency from a sequence of wrapped phase observations.

4,000 tools
Unwrapped phase slope frequency estimate calculator — Principal phase samples (rad), Sampling frequency (Hz) and calculation method
Unwrapped phase slope frequency estimate calculator: inputs and calculation method.

How to use this calculator

Estimate a narrowband signal frequency from a sequence of wrapped phase observations.

  1. Enter Principal phase samples (rad), Sampling frequency (Hz). Match the units shown beside each field and review the result together with the assumptions below.
  2. Read the worked example below to check the expected input format and result.
  3. Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Calculation guide

Unwrapped phase slope frequency estimate explained

A sampled sinusoid advances phase approximately linearly with sample index after phase wrapping is removed. The fitted slope converts to frequency by multiplying by the sampling rate and dividing by 2π; aliasing limits interpretation to the sampled Nyquist range.

Estimated frequency19.0986Hz
Estimated frequency: 19.098593 Hz in the worked scenario.

Inputs, symbols, and units

phase — Principal phase samples (rad)
Sequential wrapped phase measurements in radians. Use comma-separated values in the stated order.
fs — Sampling frequency (Hz)
Uniform samples per second; must be positive.

Formula and method

Unwrap adjacent phase changes into [−π,π); fit φ[n]=a+bn by least squares; f=b fs/(2π).

Unwrapping assumes adjacent true phase steps are below pi in magnitude. A fitted slope averages small phase errors across the block.

A worked scenario

Principal phase samples (rad) = [0, 1.2, 2.4, -2.683185307179586, -1.483185307179586, -0.283185307179586]; Sampling frequency (Hz) = 100.

  • Estimated frequency: 19.098593 Hz
  • Initial fitted phase: 0 rad
  • Phase fit RMS: 2.02698065e-16 rad

Six phase samples advance by 1.2 radians per sample at 100 samples/s, including a wrap through the principal interval.

Assumptions and edge cases

Phase unwrapping cannot recover ambiguous increments beyond pi; zero-amplitude phase observations may be meaningless.

Reading the outputs

Signed frequency follows phase rotation direction; residual RMS quantifies departure from constant phase rate.

Frequently asked questions

Can frequency be negative?

Yes; negative phase rotation gives a negative frequency.

Why not differentiate only the last two phases?

A line fit uses the whole record to reduce small timing fluctuations.

What happens at exactly pi per sample?

The convention maps the ambiguous increment to −pi.

How do I use the Unwrapped phase slope frequency estimate calculator?

Enter Principal phase samples (rad), Sampling frequency (Hz). Match the units shown beside each field and review the result together with the assumptions below.

What is a worked example of Unwrapped phase slope frequency estimate?

Principal phase samples (rad) = [0, 1.2, 2.4, -2.683185307179586, -1.483185307179586, -0.283185307179586]; Sampling frequency (Hz) = 100. Estimated frequency: 19.098593 Hz Initial fitted phase: 0 rad Phase fit RMS: 2.02698065e-16 rad Six phase samples advance by 1.2 radians per sample at 100 samples/s, including a wrap through the principal interval.