Mod

Returns the remainder of the division of x by y, which is defined by x-(y * floor(x/y)). The second argument must either be scalar or the same type of first argument and in case both arguments are vector, matrix or signal this function is performed element-wise.

Syntax

mod(x,y)

Types
 Variable NameValue TypeVariable Type
Arguments:xreal, complexscalar, vector, matrix, signal, xy-data
yreal, complexscalar, vector, matrix, signal, xy-data
Result: v real, complex scalar, vector, matrix, signal, xy-data
Calculator Input

Use the mod button to complete the operation.

Example
IDDescriptionTypeValueExpression
xArgumentREAL VECTOR

[24,30]
yArgumentREAL VECTOR

[4,4]
v Result REAL VECTOR

mod(x,y)