finding slope of the graph

2 views (last 30 days)
Viswajit Talluru
Viswajit Talluru on 3 Feb 2023
Answered: Kevin Holly on 3 Feb 2023
I need find the slope of the first cycle of this graph. If anyone has any ideas please let me kniow.
  2 Comments
John D'Errico
John D'Errico on 3 Feb 2023
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 on 3 Feb 2023
Hey, dasically draw a line finding the avaerage of the entire curve and then find the slope of that line

Sign in to comment.

Answers (1)

Kevin Holly
Kevin Holly on 3 Feb 2023
I would suggest using the Curve Fitting Toolbox.

Categories

Find more on Networks in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!