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
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)
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Directed Graphs 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!