Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Scroll Documents: Update page title prefix

Overview

Computes the log base 2 using the math library

Discussion

Computes the log with the base 2 using the math library.

Type Definition

Code Block
typedef struct _ModuleLog2
{
    ModuleInstanceDescriptor instance;            // Common Audio Weaver module instance structure
} ModuleLog2Class;

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

Code Block
 M=log2_module(NAME)
 Creates an Audio Weaver module that computes the log base 2
 using the standard math library.
    NAME - name of the module.

...