Math Function

Performs mathematical operations optimized for Q15.16 format

Category: Math

Description:

In some situations, it is necessary to execute math functions with improved numerical performance. In these situations, it is recommended to use the Math Function block.

This block can apply the following operations:

  • e^u -
    Out=exp(In)Out = exp(In)
  • u^2 -
    Out=In2Out = In^2
  • u^(1/2) -
    Out=InOut = \sqrt{In}

Figure 1 shows a diagram using all functions available.

Figure 1 - Diagram example

Parameters:

Defines what function will be executed among the available.

Ports:

Input

The value of the signal flowing into this port will be used in the math operation according to the Function parameter.

Data Types:
Output

Returns the result of the operation executed. The data format of the signal is Q15.16.

Data Types:

About MWF

MWF is a traditional Brazilian company that provides a wide range of electronic and mechatronic products for industry sectors such as automotive, agricultural machinery and aerospace.

Contact Us

Rua Doutor Siqueira, 139 / Sala 804 Campos dos Goytacazes - RJ, Brasil

contact@mwf-technologies.com

© 2018-2026 MWF. All rights reserved.