How to calculate/plot a tolerance band in two dimensions?
Show older comments
I have a time signal and want to add a value-tolerance-band as well as a time-tolerance band. So to say a sepcific y offset in both plus and minus y directions and a time offset in both negative and positive time.
Y-Offset and X-Offset are independent from another.
As seen on the picture: The black line is my input and i want two arrays containing the datapoints to plot the two dashed lines.

Simply adding and subtracting in both y- and x-direction will give me just the most outer curves, for example with a sinus wave:

Which results in 3 peaks instead of a smooth "plateau" at the maxima, but the area between the three peaks are "allowed" datapoints and should be under the curve as well.
Is there an easy way to do this other than to just shift the curve and comparing maxima at every timestep?
Accepted Answer
More Answers (0)
Categories
Find more on Assumptions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!