Sign

 

The Sign block outputs either 1 or –1 that indicates the sign of the input.

If the input is greater than zero, the output is 1. If the input is equal to zero, the output is zero. If the input is less than zero, the output is -1.

 

Dialog box

Figure 1  Sign dialog box

 

Parameters

Parameter(s)

Description

Sample Time

Enter the time interval between samples.