Clear Filters
Clear Filters

Using only ‘stepfun’ in MATLAB, please perform mathematical operations to produce the following output

6 views (last 30 days)

Answers (1)

Dyuman Joshi
Dyuman Joshi on 18 Feb 2024
stepfun is obsolete now, and there is no documentation available for it.
The only reference you will get is using help -
help stepfun
STEPFUN Unit step function. STEPFUN(T,T0), where T is a monotonically increasing vector, returns a vector the same length as T with zeros where T < T0 and ones where T >= T0.
Use the function stem instead.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!