Azzera filtri
Azzera filtri

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

1 visualizzazione (ultimi 30 giorni)
I want to estiamte the slop of curve for every point. I attached curve data .

Risposta accettata

KSSV
KSSV il 15 Ott 2022
load bw2.mat ;
x = N(:,1) ;
y = N(:,2) ;
m = gradient(y)./gradient(x) ;
  2 Commenti
Surendra Ratnu
Surendra Ratnu il 15 Ott 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 il 15 Ott 2022
Get the differences of slopes using diff. Pick the maximum value out of it.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Programming in Help Center e File Exchange

Tag

Prodotti


Release

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by