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 commentaires

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

Connectez-vous pour commenter.

Réponses (1)

xinyu
xinyu le 24 Oct 2013

0 votes

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

3 commentaires

Elias
Elias le 25 Oct 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 le 25 Oct 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 le 26 Oct 2013
Thank you

Connectez-vous pour commenter.

Catégories

En savoir plus sur 2-D and 3-D Plots dans Centre d'aide et File Exchange

Question posée :

le 24 Oct 2013

Commenté :

le 26 Oct 2013

Community Treasure Hunt

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

Start Hunting!

Translated by