int sign(real) Return Type: int Parameters: real input Description: This function returns the sign of the input (either 1 if positive or -1 if negative). Example Code 1 >>real r = -10.5; 2 >>disp(sign(r)); -1 3 >>r = 42.0; 4 >>disp(sign(r)); 1