Skip to main content
Skip table of contents

Tanh

Overview

Computes the function tanh(x) using the math library

Discussion

Computes the function tanh(x) using the math library.

Type Definition

CODE
typedef struct _ModuleTanh
{
    ModuleInstanceDescriptor instance;            // Common Audio Weaver module instance structure
} ModuleTanhClass;

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

CODE
 M=tanh_module(NAME)
 Creates an Audio Weaver module that computes the function tanh(x)
 using the standard math library.
    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.