I have this for loop below:
for Vsb = 0:1:5
Vtn = Vto+y*(sqrt(SurfPot + Vsb) + sqrt(SurfPot));
end
I want to plot Vtn vs Vsb for all the values of Vsb. I was trying to use the plot function but it does not seem to work.
I have this for loop below:
for Vsb = 0:1:5
Vtn = Vto+y*(sqrt(SurfPot + Vsb) + sqrt(SurfPot));
end
I want to plot Vtn vs Vsb for all the values of Vsb. I was trying to use the plot function but it does not seem to work.