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
Code Block |
---|
typedef struct _ModuleSqrt { ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure } ModuleSqrtClass; |
Pins
Input Pins
Name: in
Description: Input signal
...
Sample rate range: Unrestricted
Complex support: Real
Output Pins
Name: out
Description: Output signal
Data type: float
MATLAB Usage
File Name: sqrt_module.m
Code Block |
---|
M=sqrt_module(NAME) Creates a sqrt object for use with the Audio Weaver. Arguments: NAME - name of the module. |
...