Document toolboxDocument toolbox

(8.D.2.4) Pow

Overview

Computes the function pow(x, y) using the math library

Discussion

Computes the function pow(abs(x), y) using the math library.

Type Definition

typedef struct _ModulePow { ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure } ModulePowClass;

Pins

Input Pins

Name: x

Description: Input signal x

Data type: float

Channel range: Unrestricted

Block size range: Unrestricted

Sample rate range: Unrestricted

Complex support: Real

 

Name: y

Description: Input signal y

Data type: float

Channel range: Unrestricted

Block size range: Unrestricted

Sample rate range: Unrestricted

Complex support: Real

Output Pins

Name: out

Description: Output signal pow(abs(x), y)

Data type: float

MATLAB Usage

File Name: pow_module.m

M=pow_module(NAME) Creates an Audio Weaver module that computes the function pow(x, y) using the standard math library. NAME - name of the module.

Â