How can I plot the following

q = 1.602e-19;
k = 1.38e-23;
vD = -1.0:0.1:0.6; % Volatage increments
T = 125;
K = (T + 459.67) / 1.8; % Convoert Fahrenheight to Kelving
Io = 2.0e-6; % Micro Amps
iD = Io.*(exp(q.*vD/k.*K)-1);

2 Kommentare

Azzi Abdelmalek
Azzi Abdelmalek am 24 Okt. 2013
What do you want to plot? x-absis ? y-absis ?
Elias
Elias am 25 Okt. 2013
Both I ploted three graphs. They all look the same.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

xinyu
xinyu am 24 Okt. 2013

0 Stimmen

What do you want to plot? vD VS. iD?
plot(vD,iD)

3 Kommentare

Elias
Elias am 25 Okt. 2013
I plotted three graphs. For plot one I input 297 degrees Kelvin, for plot 2 311 degrees Kelvin, and for plot three 324 degrees Kelvin. I also plot(vD, iD) but all three plots look the same. I tried using loglog(), semilogx(), but still I was not happy.
Azzi Abdelmalek
Azzi Abdelmalek am 25 Okt. 2013
Elias, I think it's better to edit your question, put all the information needed there, instead of adding information in comment. Make your question as clear as possible, you will get the quickest answer.
Elias
Elias am 26 Okt. 2013
Thank you

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 24 Okt. 2013

Kommentiert:

am 26 Okt. 2013

Community Treasure Hunt

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

Start Hunting!

Translated by