Need Help in Plot
3 次查看(过去 30 天)
显示 更早的评论
Hi, I'm newbie in matlab and have some problem in my program. There is no error notification but it doesn't plot, here the program list:
p=10e-8:10e-11:10e-13; n=1./(1-p); plot(p,n);
if I change the variable of p to (1:1:10) the program display the figure, but if the p variable is (10e-8:10e-11:10e-13) it doesn't display the figure.
Thanks before
0 个评论
采纳的回答
Grzegorz Knor
2012-1-2
Change step size to -10e-11:
p=10e-8:-10e-11:10e-13;
n=1./(1-p);
plot(p,n);
In your case p and m are empty vectors, so there is nothing to plot :)
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Exploration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!