its an example program

clear all;

q=0.1;

x=0;

for i=1:6

x1(i)=x;

x=x+2;

p(i)=1-exp(-(10.*q./(1+q.*x1(i))));

end

plot(x1,p,'m');

hold on;

Similar questions and discussions