Erlang B table Varification

Status
Not open for further replies.

nileshjoshi

Newbie level 4
erlang b table

Here is the matlab code for Erlang table varification. This is the first step for simulation of Channel allocation for GSM system. If anyone need the channel allocation matlab program I am ready to provide him all the matlab code for that.

********Here is the matlab code***************************
Code:
format short
clear all;
block=0;
S=0;
avholding=input('enter the average holding time=  ');
inarrival=input('enter the  call arrival  rate =  ');
channel=input('enter the total no of available channel=  ');
nuser=input('enter the total no of calls=  ');
a=-avholding*log(rand(nuser,1));
b=-(60/inarrival*log(rand(nuser,1)));
d(1,1)=b(1,1);
ma=mean(a);
mb=mean(b);
offeredtraffic=ma/mb
for i=2:nuser
d(i,1)=b(i,1)+d(i-1,1);
end
s=d+a;
g=cat(2,d,s)
for i=1:channel
for j=1:2
k(i,j)=g(i,j);
end
end
k;
for i=1:channel
for j=1:2
g(i,j)=NaN;
end
end
g(any(isnan(g),2),:) = [];
[xi,yi]=size(k);
[x,y]=size(g);
minimum=min(k(:,2));
for i=1:x
%for j=1:y
minimum=min(k(:,2));
for I=1:xi
% for J=1:yi
if k(I,2)==minimum
ri=I;
end
%end
end
ca=k(ri,:);
k(ri,:)=[];
if g(i,1)<=minimum
g(i,:)=NaN;
t=cat(1,k,ca);
k=t;
block=block+1;
else
t=cat(1,k,g(i,:));
g(i,:)=NaN;
k=t;
S=S+1;
end

%end
end
block;
served=S+channel;
Gos=block*100/nuser;
Gos1=theoritical(channel,offeredtraffic);
fprintf('Gos of system from sumulation is %g\n',Gos);
fprintf('Gos of system from Erlang  formula  is %g\n',Gos1);

abdy

Newbie level 2
erlang table

Im doing a project on the optimization of the Cellular Networks and i urgently need a Matlab program on channel allocation,.......,will it be possible

rk2012

Points: 2

rk2012

Points: 2

topse2008

Newbie level 5
erlang b matlab

Hi, I am doing a project on optimisation of cellular network by dynamic channel allocation. I need your help for matlab program on channel allocation. thanks in advance.tapash_pune@rediffmail.com

xristronics

Newbie level 2
erlang table gsm

please bro can you send me matlab code on channel allocation.Send as many as you can thanks alot please its very urgent. xristronics@yahoo.com

akmirror

Junior Member level 3
erlang b table gsm

hey can u plz provide me the channel allocation program

plz email me at akmirror@gmail.com

erdian

Newbie level 1
earlang table

May I have your channel allocation codes, i very need it to doing my final project in college..u can send it to yanuar_mohamad[at]yahoo.com
your code very usable for me...

maninder25

Newbie level 2
erlang b tables

Can i have your channel allocation codes...I've working on channel allocation problem in GSM networks...my email address is singhmaninder25@yahoo.com...

hellen89

Newbie level 1
Hi,...I have a project about dynamic channel allocation in GSM nettwork.
please send me, all matlab code about it.
thank you very much.

Added after 2 minutes:

please send all matlab code about dyanamic channel allocation in GSM network to my email : hellen_cute01@yahoo.com

thank you so much^^

crazyabhi

Newbie level 1
I am doing a project on dynamic channel allocation algorithm. I need its code. Please do the needful in this regard.Its urgent.my id is abhinavsharan345@gmail.com

big_savu

Newbie level 1
Hy , i am in serious need of the full code because of a simulation that i need to do for a project at the univerity. can you please send all the needed files to big_savu@yahoo.com urgently.thx very much

gotoswati

Newbie level 2
Re: erlang table

Im doing a project on the optimization of the Cellular Networks and i urgently need a Matlab program on channel allocation,.......,will it be possible

sir i m doing project on optimization in gsm networks if u find codes plz send me at gotoswati@redimail.com

himanshu_jrd

Newbie level 1
Re: erlang b table

sir pls provide me the whole matlab code for channel allocation as my project is on the same....

Regards
Himanshu Gupta
JUET, Guna MP

haffner

Junior Member level 1
Here is a very useful white paper on call blocking probability, erlang tables and markov chains **broken link removed**

anjali gautam

Newbie level 4
Re: erlang b table

thanks....this code is veryuseful.....thanku...but plz tell me in this code which formula used and in this code what is k and g...thanku..plz reply soon.........

---------- Post added at 18:26 ---------- Previous post was at 18:25 ----------

thanks....this code is veryuseful.....thanku...but plz tell me in this code which formula used and in this code what is k and g...thanku..plz reply soon.........

9m2agc

Newbie level 1
good day sir.... i really appreciated if u can provide me the full code especially on channel allocation path thanks in advance my email 9m2agc@gmail.com

c2r4n

Newbie level 1
Re: erlang b table

Here is the matlab code for Erlang table varification. This is the first step for simulation of Channel allocation for GSM system. If anyone need the channel allocation matlab program I am ready to provide him all the matlab code for that.

********Here is the matlab code***************************
Code:
format short
clear all;
block=0;
S=0;
avholding=input('enter the average holding time=  ');
inarrival=input('enter the  call arrival  rate =  ');
channel=input('enter the total no of available channel=  ');
nuser=input('enter the total no of calls=  ');
a=-avholding*log(rand(nuser,1));
b=-(60/inarrival*log(rand(nuser,1)));
d(1,1)=b(1,1);
ma=mean(a);
mb=mean(b);
offeredtraffic=ma/mb
for i=2:nuser
d(i,1)=b(i,1)+d(i-1,1);
end
s=d+a;
g=cat(2,d,s)
for i=1:channel
for j=1:2
k(i,j)=g(i,j);
end
end
k;
for i=1:channel
for j=1:2
g(i,j)=NaN;
end
end
g(any(isnan(g),2),:) = [];
[xi,yi]=size(k);
[x,y]=size(g);
minimum=min(k(:,2));
for i=1:x
%for j=1:y
minimum=min(k(:,2));
for I=1:xi
% for J=1:yi
if k(I,2)==minimum
ri=I;
end
%end
end
ca=k(ri,:);
k(ri,:)=[];
if g(i,1)<=minimum
g(i,:)=NaN;
t=cat(1,k,ca);
k=t;
block=block+1;
else
t=cat(1,k,g(i,:));
g(i,:)=NaN;
k=t;
S=S+1;
end

%end
end
block;
served=S+channel;
Gos=block*100/nuser;
Gos1=theoritical(channel,offeredtraffic);
fprintf('Gos of system from sumulation is %g\n',Gos);
fprintf('Gos of system from Erlang  formula  is %g\n',Gos1);
please send me the code regarding the channel allocation since my project is regarding that.....thanks in advance(c2r4nforu@gmail.com)

anjali gautam

Newbie level 4
Re: erlang b table

please send me the code regarding the channel allocation.and how to channel are distributed in cell.plz tell me soon......thanks in advance(anjali.gautam59@gmail.com)

rk2012

Newbie level 1
I need it to doing my project in GSM Traffic Channel Capacity . can you send it to rs_khanaki@yahoo.com.

s.v

Newbie level 1
Re: erlang b table

Here is the matlab code for Erlang table varification. This is the first step for simulation of Channel allocation for GSM system. If anyone need the channel allocation matlab program I am ready to provide him all the matlab code for that.

********Here is the matlab code***************************
Hi..this code is veryuseful..but I need your help for matlab program on channel allocation. can you send it to s_vahidi67@yahoo.com..Its urgent..thank you very much.

Status
Not open for further replies.