Versions Compared

Key

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

Overview

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

Discussion

Computes the function atan2(y, x) using the math library. The output is in the range -pi <= atan2() <= +pi

Type Definition

Code Block
typedef struct _ModuleAtan2
{
    ModuleInstanceDescriptor instance;            // Common Audio Weaver module instance structure
} ModuleAtan2Class;

Pins

Input Pins

Name: y

Description: Input signal y

...

Sample rate range: Unrestricted

Complex support: Real

Output Pins

Name: out

Description: Output signal atan2(y, x)

Data type: float

MATLAB Usage

File Name: atan2_module.m

...