Skip to main content
Skip table of contents

Undb10Approx

Overview

Converts from decibels to linear units

Discussion

Converts from Decibels to energy using a fast polynomial approximation The maximum error in the result is 3.228661e-002 dB

Type Definition

CODE
typedef struct _ModuleUndb10Approx
{
    ModuleInstanceDescriptor instance;            // Common Audio Weaver module instance structure
} ModuleUndb10ApproxClass;

Pins

Input Pins

Name: in

Description: Input signal

Data type: float

Channel range: Unrestricted

Block size range: Unrestricted

Sample rate range: Unrestricted

Complex support: Real

Output Pins

Name: out

Description: Output signal

Data type: float

MATLAB Usage

File Name: undb10_approx_module.m

CODE
 M=undb10_approx_module(NAME)
 Creates an Audio Weaver module that computes the function 10^(x/10)
 using a fast polynomial approximation  This converts from decibels 
 to linear units.
    NAME - name of the module.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.