...
Code Block |
---|
typedef struct _ModuleLdexpModuleLog { ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure } ModuleLdexpClassModuleLogClass; |
Pins
Input Pins
Name: fin
Description: Fractional value fInput signal
Data type: float
Channel range: Unrestricted
...
Sample rate range: Unrestricted
Complex support: Real
Name: e
Description: Exponent e
Data type: int
Channel range: Unrestricted
Block size range: Unrestricted
Sample rate range: Unrestricted
Complex support: Real
Output Pins
Name: yout
Description: Floating point resultOutput signal
Data type: float
MATLAB Usage
File Name: ldexplog_module.m
Code Block |
---|
M=ldexplog_module(NAME) Creates an Audio Weaver module that computes the function ldexp(F, E)log function using the standard math library. This function computes a floating point number starting with a fractional value F and an exponent E as: Y = F * 2^E The function is the inverse of the function frexp(). Arguments: NAME - name of the module. |
...