Code covered by the BSD License  

Highlights from
stepfunc

Be the first to rate this file! 7 Downloads (last 30 days) File Size: 1.58 KB File ID: #42826
image thumbnail

stepfunc

by

 

25 Jul 2013 (Updated )

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

| Watch this File

File Information
Description

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

MATLAB release MATLAB 8.0 (R2012b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Updates
26 Jul 2013

correct documentation

Contact us