Clear Filters
Clear Filters

How to plot a deviation

4 views (last 30 days)
Philipp Mueller
Philipp Mueller on 6 Jun 2021
Edited: Philipp Mueller on 6 Jun 2021
I have two signals which I want to check for equality. Signal_1 is allowed to deviate +/- 5% from Signal_2. Signal_2 is the reference signal = 100%. Signal_1 must between 95% - 105% of the Signal_2. I would like to plot both signals with the upper limit of 105% and the lower limit of 95% in one plot. Is there a nice opportunity to make a nice plot to see good if Signal_1 is between the limits? And also a mathematical check to get the max deviation in [%]? (The signals have a different sampling rate) I wish a nice weekend. Stay healthy.
Best Regards

Answers (0)

Community Treasure Hunt

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

Start Hunting!