Exponential function appearing linear....
显示 更早的评论
I am trying to graph this function, for some reason I can't get it to appear exponential, no matter how much I play with the axes. Can someone tell me what I'm doing wrong?
Ic=10^(-14)*exp(Vbe./(26*10^(-3))); plot (Vbe, Ic)
回答(1 个)
John D'Errico
2015-4-14
Well, since you don't tell us the range of Vbe (the dependent variable) you are looking at, what can I say?
The fact is, over a sufficiently small range, any well-behaved function will APPEAR essentially linear.
ezplot(@exp,[0,.1])

We know it is NOT truly linear. But as you would expect, over that range, the higher order terms in a Taylor series approximation are virtually irrelevant. Widen the range sufficiently, and no problem. It now looks as you might expect.
ezplot(@exp,[-1,1])

类别
在 帮助中心 和 File Exchange 中查找有关 Linear Algebra 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!