plot the given equation in the interval of x=[-1 3]

1 view (last 30 days)
y = (10.^(-19)).*(exp((x-(y.*0.1))/0.026)-1)
Walter Roberson
Walter Roberson on 28 Oct 2021
Yes? And how does that answer KSSV's question ?
I have to say, it does not look like the diode equation to me... The diode equation only has voltage as its input -- unless you are using non-ideal diodes in which case n could be input as well.

Sign in to comment.

Answers (1)

Sam Chak
Sam Chak on 28 Oct 2021
If the equation cannot be expressed explicitly as in y versus x, then such equation is an implicit function, , like the circle equation. To plot an implicit equation, you can use the fimplicit function. For more info, please visit:
fimplicit(@(x,y) y - (10.^(-19)).*(exp((x-(y.*0.1))/0.026)-1), [-1 3 -2 20])
You can compare with the diode plot here:

Community Treasure Hunt

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

Start Hunting!