Skip to content

Instantly share code, notes, and snippets.

@HectorTorres
Created October 18, 2017 21:43
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save HectorTorres/b1f24f5fd8a1bb706d85867f948d819c to your computer and use it in GitHub Desktop.
Save HectorTorres/b1f24f5fd8a1bb706d85867f948d819c to your computer and use it in GitHub Desktop.
Curva del diodo en Matlab
close all
n=1;
Is=10e-12;
%Vd=0:10e-3:1;
Vd=0.65:10e-3:0.75;
Vt=26e-3;
Id=Is.*(exp(Vd./Vt)-1);
plot(Vd,Id,'LineWidth',2)
grid
legend('Corriente del diodo');
xlabel('Voltaje V [V]')
ylabel('Corriente I [A]')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment