|Download Help (Windows Only)|
Owning Class: basic
Requires: MathScript RT Module
c = rem(a, b)
Computes the remainder of the input elements.
|a||Specifies the dividend. a is a real scalar, vector, or matrix.|
|b||Specifies the divisor. b is a real scalar, vector, or matrix.|
|c||Returns the remainder of a divided by b. c has the same sign as a. c is a matrix of the same size as a or b.|
The following table lists the support characteristics of this function.
|Supported in the LabVIEW Run-Time Engine||Yes|
|Supported on RT targets||Yes|
|Suitable for bounded execution times on RT||Yes|
A = [1:1:5]
B = 3
C = rem(A, B)