Plotting an equation with Matlab
1 次查看(过去 30 天)
显示 更早的评论
Hi I will plot T(E)
where K2 is
h=1.36e-34
clc
clear all
m=1.6e-18;
U=5e-19;
E=10e-19:0.1:20e-19;
a=1e-9;
h=1.36e-34;
k=sqrt(2*m.*(E-U));
k2=k/h; c=(U^2)*(sin(0.5*a*k2).^2)./(4*E.*(E-U))
T=1./(1+c);
plot(E,T)
But I see an empty plot!
Can someone help me please ?
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!