sign Function

Returns 1 if argument is greater than 0 otherwise returns 0.

Arguments

Number Type Compulsory Default Description
1 real array Yes vector

Returns

Return type: real array

Returns 1 if argument is greater than 0 otherwise returns 0.