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 fmod(x, y) using the math library

Discussion

Computes the funtion fmod(x, y) using the math library. fmod(x, y) returns the floating-point remainder of x/y.

Type Definition

Code Block
typedef struct _ModuleFmod
{
    ModuleInstanceDescriptor instance;            // Common Audio Weaver module instance structure
} ModuleFmodClass;

Pins

Input Pins

Name: x

Description: Input signal x

...

Sample rate range: Unrestricted

Complex support: Real

Output Pins

Name: out

Description: Output signal fmod(y, x)

Data type: float

MATLAB Usage

File Name: fmod_module.m

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

...