Owning Class: waveform generation
Requires: MathScript RT Module
u = stepsignal(t)
u = stepsignal(t, t0)
Generates a unit step waveform defined as 0.0 for t < t0 and as 1.0 for t >= t0.
|t||Specifies the times at which to compute the unit step waveform. t is a vector.|
|t0||Specifies the transition time of the step function. t0 is a real, double-precision scalar. The default is 0.0.|
|u||Returns the step wave at times t with the step transition at t0.|
The following table lists the support characteristics of this function.
|Supported in the LabVIEW Run-Time Engine||Yes|
|Supported on RT targets||Yes|
|Suitable for bounded execution times on RT||Not characterized|
X = -1:0.1:1;
Y = stepsignal(X);
Y2 = stepsignal(X, 0.4);
plot(X, Y, X, Y2);