# Instantaneous phase

**Instantaneous phase** and **instantaneous frequency** are important concepts in signal processing that occur in the context of the representation and analysis of time-varying functions. The instantaneous phase (or "local phase" or simply "phase") of a complex-valued function, *x*(*t*), is the real-valued function**:**

- (See arg function.)

And for a real-valued function, *s*(*t*), it is determined from the function's analytic representation, *s*_{a}(*t*)**:**

When is constrained to its principal value, either the interval (-π, π] or [0, 2π), it is called the *wrapped* phase. Otherwise it is called *unwrapped*, which is a continuous function of argument assuming is a continuous function of Unless otherwise indicated, the continuous form should be inferred.

## Contents

## Examples

- In this simple sinusoidal, mono-frequency example, the constant is also commonly referred to as
*phase*or phase*offset*. is a function of time. is not. - In the next example, we also see that the phase offset of a real-valued sinusoid is ambiguous unless a reference (sin or cos) is specified. is unambiguously defined.

In both examples the local maxima of correspond to for integer values of N. This has applications in the field of computer vision.

## Instantaneous frequency

In general, the instantaneous angular frequency is defined as

- and the
**instantaneous frequency**(Hz) is:

The inverse operation is:

For discrete-time functions, this can be written as a recursion:

Discontinuities can then be removed by adding 2π whenever and subtracing 2π whenever That allows to accumulate without limit and produces an **unwrapped** instantaneous phase.[1] An equivalent formulation that replaces the modulo 2π operation with a complex multiplication is:

## Complex representation

In some applications, such as averaging the values of phase at several moments of time, it may be useful to convert each value to a complex number, or vector representation**:**

This representation is similar to the wrapped phase representation in that it does not distinguish between multiples of 2π in the phase, but similar to the unwrapped phase representation since it is continuous. A vector-average phase can be obtained as the **arg** of the sum of the complex numbers without concern about wrap-around.

## See also

## Citations

- ↑ {{#invoke:citation/CS1|citation |CitationClass=book }}

## References

- {{#invoke:citation/CS1|citation

|CitationClass=book }}

- {{#invoke:citation/CS1|citation

|CitationClass=book }}