Hello, I have two vectors (1X1510) that make up a graph. How can i find when the graph slop aims to zero?

2 次查看(过去 30 天)
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 个)

Tala
Tala 2022-5-10
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)

类别

Help CenterFile Exchange 中查找有关 Directed Graphs 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by