finding slope of the graph

1 次查看(过去 30 天)
Viswajit Talluru
Viswajit Talluru 2023-2-3
I need find the slope of the first cycle of this graph. If anyone has any ideas please let me kniow.
  2 个评论
John D'Errico
John D'Errico 2023-2-3
Since a cycle is a periodic thing, the slope will vary from positive to negative. What do you mean by the slope of the cycle?
Is it the slope of the first part of that curve? If so, then just take only the first few points, and use polyfit(x,y,1).
Viswajit Talluru
Viswajit Talluru 2023-2-3
Hey, dasically draw a line finding the avaerage of the entire curve and then find the slope of that line

请先登录,再进行评论。

回答(1 个)

Kevin Holly
Kevin Holly 2023-2-3
I would suggest using the Curve Fitting Toolbox.

类别

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

产品

Community Treasure Hunt

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

Start Hunting!

Translated by