フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

In the given program it is not saving the ls value and is not giving plot, what do i need to do for it?

1 回表示 (過去 30 日間)
ARTI
ARTI 2014 年 1 月 13 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
if true
clear all;
kn=100;
W=360*(10^(-9));
L=180*(10^(-9));
beta=kn*W/L;
Vth=1;
lambda=1/1000;
vds=0:0.5:10;
vgs=input('ENTER THE Vgs in volts');
m=length(vds);
lsvals = [2 3 4 5 6 7];n=length(lsvals);
a=1;
for i=1:m
gm(i)=(lambda/2)*kn*(vgs-Vth)^2;
if(a<=n)
ls = lsvals(a);
a=a+1;
end
end
plot(ls(1,:),gm)
end
  2 件のコメント
ES
ES 2014 年 1 月 13 日
You do not get a plot because, ls is a double number. ls(1,:) is also so. What equation do you want to model exactly?
ARTI
ARTI 2014 年 1 月 14 日
Atually the plot is a variation of ls and gm. the formulae of gm is given and ls is varying from 2nm to 5nm......

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by