필터 지우기
필터 지우기

Howw to scale the nonlinearity in the figure for visual comparison

조회 수: 4 (최근 30일)
Here is the code
if true
Vgo=1.2;
Tr=300;
T=[248:423];
n=3.6;
x=1;
Vbetr=0.7;
Vbe=Vgo-(T/Tr)*(Vgo-Vbetr)-((4-n)-x)*(k*Tr/e)*log(T/Tr)
plot(T, Vbe)
end
clearly the plot of Vbe is nonlinear, but I want to visually show it that it is nonlinear in the plot since the plot shows as:
How do I "exaggerate" the nonlinearity of the plot to compare it with a straight line?
  댓글 수: 2
KSSV
KSSV 2018년 5월 9일
Undefined variables k and e.....
Rodney Manalo
Rodney Manalo 2018년 5월 9일
those are constants for Boltzmann and Electron charge respectively k=1.38x10-23 and e=1.602x10-19 or in general: k*Tr/e=25.9x10-3

댓글을 달려면 로그인하십시오.

채택된 답변

Ameer Hamza
Ameer Hamza 2018년 5월 9일
Since nonlinear term include log(T/Tr), therefore the nonlinearity will signify at smaller values of T. Consider changing the range of T as follow
T=0:200;
will signify the nonlinearity
.
  댓글 수: 3
Rodney Manalo
Rodney Manalo 2018년 5월 9일
The plot is not to scale. What I'm really asking is how to magnify the nonlinear part of the Vbe to compare it with a straight line
Ameer Hamza
Ameer Hamza 2018년 5월 9일
편집: Ameer Hamza 2018년 5월 9일
The following code will produce something similar
Vgo=1.2;
Tr=300;
T = 0:250;
n=3.6;
x=1;
Vbetr=0.7;
k=1.38e-23;
e=1.602e-19;
Vbe=Vgo-(T/Tr)*(Vgo-Vbetr)-((4-n)-x)*(k*Tr/e)*log(T/Tr);
Vbe_straight=Vgo-(T/Tr)*(Vgo-Vbetr);
plot(T, Vbe, T, Vbe_straight)

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Annotations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by