class="resources"
Performs a linear evaluation on the input matrix X using the inputs a and b. Details

![]() |
X is the input matrix. |
![]() |
a specifies the scale coefficient. |
![]() |
b specifies the shift coefficient. |
![]() |
Y=X*a+b returns the linear evaluation of X. |
![]() |
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster. |
The VI calculates Y=X*a+b using the following equation.
Y = aX + b
where a denotes the multiplicative constant and b denotes the additive constant.
The following equation defines each element of Y.
Y[i,j] = X[i,j]*a + b.