Hi all, i have fitted a Four Parameters Logistic Regression for my X and Y data. i want to find the local slope of each data point, i would appreciate if somebody can help me on this , the attached image shows the fit

1 vue (au cours des 30 derniers jours)

Réponse acceptée

Ben Drebing
Ben Drebing le 21 Déc 2017
Do you mean you want to calculate the slope at each point along the curve? If your curve is given by x and y, then you can get the slope at each point along the curve by doing
slopes = diff(y) ./ diff(x);

Plus de réponses (0)

Catégories

En savoir plus sur Linear and Nonlinear Regression dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by