필터 지우기
필터 지우기

How find the X- and Y- Intercepts of a plot?

조회 수: 5 (최근 30일)
Ved
Ved 2013년 11월 18일
편집: Ved 2013년 11월 18일
Please tell me how to find the axis intercept of any plot. (X-intercept and Y-intercept).
for e.g.,this plot:
x=linspace(1,10,100);
y=randi([2 5],1,100);
y=fliplr(sort(y));
plot(x,y)
grid on

답변 (2개)

Walter Roberson
Walter Roberson 2013년 11월 18일
That plot does not have a well defined axis intercept.
Are you asking what the intercept would be if your projected completely linearly with with the second-smallest y at x = 90 and the smallest y at x = 100 ?

Ved
Ved 2013년 11월 18일
편집: Ved 2013년 11월 18일
Please consider the figure (plot of above code).

카테고리

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