How to plot a deviation (upper/lower limit)
8 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello,
I have a plotted a signal (black line). Now i want to draw a 5 percent upper and lower limit (range deviation).. See my picture. How can i do this?
Thank you in advance.
Best Regards

0 Kommentare
Antworten (1)
Torsten
am 27 Mai 2021
Bearbeitet: Torsten
am 27 Mai 2021
Include 1.05*signal and 0.95*signal in the same plot.
2 Kommentare
Torsten
am 27 Mai 2021
If S_rand is the random signal 19894x2 matrix, you can sort out the points where this signal is not in the prescribed limits by
S_out = S_rand( S_rand(:,2) < 0.95*S(:,2) | S_rand(:,2) > 1.05*S(:,2) )
where S is the 19894x2 matrix of the original signal.
Siehe auch
Kategorien
Mehr zu Spectral Estimation finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
