Evaluate piecewise-linear bound
c = evalRequirement(req,sig)
MATLAB® timeseries object or nxm array, where the 1st column is time and subsequent columns are signal values.
Column vector indicating the maximum signed distance of the signal to each edge. Negative values indicate that the bound edge is satisfied and positive values indicate that the bound edge is violated.
Matrix if multi-channeled signal.
Evaluate piecewise-linear bound on signal.
req = sdo.requirements.SignalBound; sig = timeseries(1-exp(-(0:10)')); c = evalRequirement(req,sig);
c is negative, which indicates that the signal satisfies the bounds.