Contents Up Previous Next

Unwrap

Purpose
Description
Macro Synopsis
Example
Modules
Related Functions


Purpose

Unwrap a signal out of a given interval

Description

"Unwrap" maps a signal wrapped into an interval to its full range along the y-axis by adding multiples of the interval width b-a to single data values in order to make the result as smooth as possible. Parameters of "Unwrap" are


Macro Synopsis

y = Unwrap(x,a,b);
signal x,y;
float a,b;

Example

// x is a complex signal
pi=3.14159265358979;
y = Cart2Pol(x);
phase = Extract(x,2,2); // phase, wrapped into (-pi,pi)
uphase = Unwrap(phase,-pi,pi);

Modules

Student, Professional

Related Functions

Wrap, Envelope, Resample, Subsample.