Problem with function envelope
Show older comments
Hi,
I have a problem with function envelope. It worked for all my set of data but, in one case, it didn't. When a function become constant, the envelope "goes away", creating a sort of asymptote. Or better, I think that it works, but when the function become constant I have to change stategy or stop the envelope.
I put there a right plot, without envelope, and the plot in which I get this problem.


I use this code, for example:
[low_dMRe, up_dMRe] = envelope(Int_dMRe_20,3000,'peak');
Could anyone help me, please?
Thank you in advance
Chiara
3 Comments
Mathieu NOE
on 15 Jul 2022
hello Chiara
can you share some code + data ?
all the best
Mathieu NOE
on 15 Jul 2022
hello again
maybe this FEX submission is worth a look / trial :
Chiara Gigoli
on 15 Jul 2022
Accepted Answer
More Answers (0)
Categories
Find more on Scopes and Data Logging 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!


