필터 지우기
필터 지우기

Finding of value coordinate

조회 수: 1 (최근 30일)
MOHD UWAIS
MOHD UWAIS 2022년 1월 10일
댓글: Walter Roberson 2022년 1월 10일
For example,
x=-50:1:50;
y=4*x.^2+5;
plot(x,y,'*-')
How we can find x value corresponding to the minimum value of y.

채택된 답변

Walter Roberson
Walter Roberson 2022년 1월 10일
[~, idx] = min(y);
x(idx)

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by