Borrar filtros
Borrar filtros

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

1 visualización (últimos 30 días)
Surendra Ratnu
Surendra Ratnu el 15 de Oct. de 2022
Comentada: KSSV el 15 de Oct. de 2022
I want to estiamte the slop of curve for every point. I attached curve data .

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Programming en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by