please help me to plot the figure attached by matlab..which represents the charge density in the junction region of p-n junction
and thanks all.. thanks thanks thaaaaanks
and thanks all.. thanks thanks thaaaaanks
Attachments
-
12.8 KB Views: 36
How are you generating the data for the plot? Do you have a formula, or a data file?please help me to plot the figure attached by matlab..which represents the charge density in the junction region of p-n junction
and thanks all.. thanks thanks thaaaaanks
i=1:100;
x=-5+10*i/100;
y=x.^2;
plot(x,y)
title('Plot of the function y=x^2')
xlabel('x-axis')
ylabel('y-axis')
You have to learn the commands and the programming methods to figure out how to make your two figures. The best way to learn is by doing. Try the commands. Go step by step. Make mistakes. Correct your mistakes. Post examples of your code here when you get stuck. Etc.thanks very much..but what about my two figures ?