Skip to content

Unwrap

Overview

Unwrap phase angle in radians

Discussion

The Unwrap module implements the Matlab equivalent Unwrap() function. This operates on the current block of data.

Module Pack

Advanced

ClassID

classID = 1349

Type Definition

typedef struct _ModuleUnwrap
{
ModuleInstanceDescriptor instance;            // Common Audio Weaver module instance structure
} ModuleUnwrapClass;

Pins

Input Pins

Name in
Description input
Data type float
Channel range Unrestricted
Block size range Unrestricted
Sample rate range Unrestricted
Complex support Real

Output Pins

Name out
Description unwrapped output
Data Type float

Matlab Usage

File Name: unwrap_module.m 
 M=unwrap_module(NAME) 
 Creates an Audio Weaver module that implements the unwrap of the phase 
 angle in radians.  Arguments: 
    NAME - name of the module. 

Copyright (c) 2026 DSP Concepts, Inc.