How can I plot slope including maximum peaks?
Show older comments

Hello, How can I plot slope including peaks point? It should look like exp. I tried envelope but It does not work for my code.
Thank you.
Accepted Answer
More Answers (1)
Image Analyst
on 13 Dec 2017
Why would you try envelope()? diff() would give the slope
slopes = diff(y)
Categories
Find more on Descriptive Statistics 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!