Finding the minima or maxima point on a graph
이전 댓글 표시
Hi, Hope someone can help.
I have a line graph and i want to fin the minima or maxima point, is there a simple finction i can use to the do this?
답변 (1개)
KALYAN ACHARJYA
2019년 12월 3일
편집: KALYAN ACHARJYA
2019년 12월 3일
or
#Example
x=1:100;
c=2;
m=3;
y=m*x+c;
data1=find(y==min(y)); %index of minimum
data2=find(y==max(y)); %index of maximum
Is this?
카테고리
도움말 센터 및 File Exchange에서 Networks에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!