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

1 回表示 (過去 30 日間)
Tom Braylovsky
Tom Braylovsky 2022 年 5 月 10 日
回答済み: Tala 2022 年 5 月 10 日
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 Center および File ExchangeDirected Graphs についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by