Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

Version 1 Current »

Overview

Computes the square root

Discussion

Computes the square root of the absolute value of the input signal. The absoulute value is computed before the square root in order to avoid issues where the input signal is <0.

Type Definition

typedef struct _ModuleSqrt
{
    ModuleInstanceDescriptor instance;            // Common Audio Weaver module instance structure
} ModuleSqrtClass;

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: sqrt_module.m

 M=sqrt_module(NAME)
 Creates a sqrt object for use with the Audio Weaver.  Arguments:
    NAME - name of the module.

  • No labels