필터 지우기
필터 지우기

Please help me with this program as I am not getting the smooth curve??

조회 수: 2 (최근 30일)
ARTI
ARTI 2014년 1월 3일
댓글: ARTI 2014년 1월 5일
clear all;
W=360*10^-9;
Vth=1;
lambda=25*10^-5;
un=100;
Cox=1*10^-6;
Leff=180*10^-9;
ld=0.1;
vds=0:0.5:10;
Ec=1;
vgs=input('ENTER THE Vgs in volts');
m=length(vds)
for i=1:m
if vgs < Vth
current(1,i)=0;
elseif vds(i) >= (vgs - Vth)
current(1,i)=(2*W*un*Cox/Leff-ld+(vds(i)/Ec)) +(lambda*2*W*Cox/(Leff-ld)^2)*((vgs-Vth)*vds(i)-0.5*vds(i)^2);
end
end
plot(vds,current(1,:),'b')
xlabel('Vds, V')
ylabel('Drain Current,A')
title('I-V Characteristics of a MOSFET')

답변 (1개)

Matt J
Matt J 2014년 1월 3일
편집: Matt J 2014년 1월 3일
Sample the curve at more points.
  댓글 수: 3
Matt J
Matt J 2014년 1월 3일
your vds(i) are separated by 0.5. They need to be separated by less.
ARTI
ARTI 2014년 1월 5일
i tried sir but the result is more or less same

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

카테고리

Help CenterFile Exchange에서 Semiconductors and Converters에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by