Azzera filtri
Azzera filtri

finding slope of the graph

6 visualizzazioni (ultimi 30 giorni)
Viswajit Talluru
Viswajit Talluru il 3 Feb 2023
Risposto: Kevin Holly il 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 Commenti
John D'Errico
John D'Errico il 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 il 3 Feb 2023
Hey, dasically draw a line finding the avaerage of the entire curve and then find the slope of that line

Accedi per commentare.

Risposte (1)

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

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by