필터 지우기
필터 지우기

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

조회 수: 1 (최근 30일)
Surendra Ratnu
Surendra Ratnu 2022년 10월 15일
댓글: KSSV 2022년 10월 15일
I want to estiamte the slop of curve for every point. I attached curve data .

채택된 답변

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

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

태그

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by