Math Function
Math Function
Simulink Reference
Math Function
Perform a mathematical function
Library
Math Operations
Description
You can select one of these functions from the Function list: exp, log, 10u, log10, magnitude2, square, sqrt, pow,
conj, reciprocal, hypot, rem, mod, transpose, and hermitian. The block output is the result of the operation of the
function on the input or inputs.
The name of the function appears on the block icon. Simulink automatically draws the appropriate number of
input ports.
Use the Math Function block instead of the Fcn block when you want vector or matrix output, because the Fcn
block can produce only scalar output.
Function
The mathematical function.
Output signal type
The dialog allows you to select the output signal type of the Math Function block as real, complex, or
auto.
Characteristics
https://edoras.sdsu.edu/doc/matlab/toolbox/simulink/slref/mathfunction.html 2/2