function y = ustep(t) % Unit Step Function y = (1 + sign(t))/2; % y = @(t) double(t > 0) % inline function