How do you find the intersection points of two functions?
조회 수: 4 (최근 30일)
이전 댓글 표시
i have A=10+0.5*n;
P=8*exp(1.02*n) where n=1:110
i want to find the point when P>A ,numerically and graphically
댓글 수: 0
답변 (1개)
Star Strider
2019년 11월 10일
It is straightforward to show that P>A for the entirety of ‘n’.
They do not ever intersect:
n=1:110;
A=10+0.5*n;
P=8*exp(1.02*n);
Out = P(P>A); % Desired Result
figure
plot(n, A, n, P)
grid
ylim([min(A) max(A)])
They would intersect at 0 if ‘n’ was allowed to have any negative values, and was continuoous.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Smoothing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!