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 comentarios

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

Iniciar sesión para comentar.

Respuestas (1)

xinyu
xinyu el 24 de Oct. de 2013

0 votos

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

3 comentarios

Elias
Elias el 25 de Oct. de 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 el 25 de Oct. de 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 el 26 de Oct. de 2013
Thank you

Iniciar sesión para comentar.

Categorías

Más información sobre 2-D and 3-D Plots en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 24 de Oct. de 2013

Comentada:

el 26 de Oct. de 2013

Community Treasure Hunt

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

Start Hunting!

Translated by