finding slope of the graph
2 views (last 30 days)
Show older comments
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
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).
Answers (1)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!