-------------------------------------------------------------------------- Computes sign. If x >= 0 it equals 1. -------------------------------------------------------------------------- Form: sign2 = sign2(x) -------------------------------------------------------------------------- ------ Inputs ------ x (1,:) Input ------- Outputs ------- sign2 (1,:) Sign --------------------------------------------------------------------------