필터 지우기
필터 지우기

How to find intersection of two curves

조회 수: 5 (최근 30일)
BINAY NAYAK
BINAY NAYAK 2022년 3월 27일
답변: Torsten 2022년 3월 27일
Here is the code. I want to find intersection of this two plot
T = 250:0.1:500;
qg = 1.09.*10^16.*exp(-7550./T)./(1+1.34.* 10^9.*exp(-7550./T));
qr = 5.9.* 10^4.*T-1.82.* 10^7;
plot(T,qg)
hold on
plot(T,qr)

답변 (1개)

Torsten
Torsten 2022년 3월 27일
T = 250:0.01:500;
qg = 1.09.*10^16.*exp(-7550./T)./(1+1.34.* 10^9.*exp(-7550./T));
qr = 5.9.* 10^4.*T-1.82.* 10^7;
idx = ((qg(1:numel(qg)-1)-qr(1:numel(qr)-1)).*(qg(2:numel(qg))-qr(2:numel(qr))))<=0;
T(idx)

카테고리

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