Hello, I have two vectors (1X1510) that make up a graph. How can i find when the graph slop aims to zero?
Show older comments
Hello, I have two vectors "A" and "B", each (1X1510) that make up a graph together: A (B)
How can i find when the graph slop aims to zero?
1 Comment
Mathieu NOE
on 10 May 2022
hello
It would help if you could share the data
Answers (1)
Tala
on 10 May 2022
1 vote
You would get a better help if you attach your data!
without seeing your grah, you can use this and see the behaviour of your plot. I am nost sure what do you mean by "aim to zero". If you mean equal to zero, you can use find function to get the index that equals to zero.
A1=diff(A); plot(A1)
Categories
Find more on Startup and Shutdown 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!