How to obtain slop for a curve at each point??

3 vues (au cours des 30 derniers jours)
Surendra Ratnu
Surendra Ratnu le 15 Oct 2022
Commenté : KSSV le 15 Oct 2022
I want to estiamte the slop of curve for every point. I attached curve data .

Réponse acceptée

KSSV
KSSV le 15 Oct 2022
load bw2.mat ;
x = N(:,1) ;
y = N(:,2) ;
m = gradient(y)./gradient(x) ;
  2 commentaires
Surendra Ratnu
Surendra Ratnu le 15 Oct 2022
Thanks its works for me, Can you tell me how will i will identify max change in slop and draw the points on curve ??
KSSV
KSSV le 15 Oct 2022
Get the differences of slopes using diff. Pick the maximum value out of it.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Interpolation dans Help Center et File Exchange

Tags

Produits


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by