File Exchange

image thumbnail

stepfunc

version 1.2 (1.58 KB) by

Generates step-function signal and time vector where x is equal to 0 for n < 0 and 1 for x > 0.

0 Downloads

Updated

View License

The stepfunc generates step-function signal and time vector where x is equal to 0 for n < 0 and 1 for x > 0. Unlike heaviside, x is equal to 0 instead of 0.5 for n = 0.
Mathematical formula: x(n) = u(n-n0); n1 <= n,n0 <= n2

Comments and Ratings (0)

Updates

1.2

correct documentation

MATLAB Release
MATLAB 8.0 (R2012b)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Win prizes and improve your MATLAB skills

Play today