Hi everyone.. can any one please help me with this error my code is as follow. i am getting error for Pi value.
%%%---- fraction of time wifi channel is idle
t= 2./(W+1);p=1-(1-t).^(n-1);B100=2*(1-2*p)*(1-p)./(1-2*p)*(W+1)+(p*W)*(1-(2*p)^m);ti=0.1;tb=0.2;p0=1-(1-ti).^(n-1);p1=1-(1-tb).^(n-1);for j=0:6 w=2^j.*(W);endfor x=2:6 pi=prod(p1./w(x)+(p0./w(x)).*(w(x-1)-1));end
Best Answer