How to plot a restoration-based envelope in matlab
Show older comments
Hello greetings to everyone
I have a damping sine curve (code and data attached) as the following

and I intend to do the following action on it, and make an envelope like the dashed curve:

How can I plot these max and min and plot a fit envelope like the dashed curve as above in MATLAB (The crosses are the midpoint of each line on which they are located)
Thanks in advance for your time given on this question and stay healthy
Accepted Answer
More Answers (0)
Categories
Find more on Linear and Nonlinear Regression 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!