Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Erlang B table Varification

Status
Not open for further replies.

nileshjoshi

Newbie level 4
Joined
May 25, 2007
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,356
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
Joined
May 29, 2007
Messages
2
Helped
2
Reputation
4
Reaction score
1
Trophy points
1,283
Activity points
1,287
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
 
  • Like
Reactions: rk2012

    nileshjoshi

    Points: 2
    Helpful Answer Positive Rating

    rk2012

    Points: 2
    Helpful Answer Positive Rating

topse2008

Newbie level 5
Joined
Dec 22, 2007
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,328
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
Joined
Apr 8, 2008
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,290
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
 

erdian

Newbie level 1
Joined
Jul 29, 2009
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
bandung
Activity points
1,285
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...
 

hellen89

Newbie level 1
Joined
Mar 26, 2010
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
indonesia
Activity points
1,285
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^^
 

big_savu

Newbie level 1
Joined
Jun 9, 2010
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,285
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
Joined
Aug 21, 2010
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
kota
Activity points
1,296
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
Joined
Sep 20, 2010
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,284
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
Joined
Sep 8, 2009
Messages
17
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,283
Location
USA
Activity points
1,355
Here is a very useful white paper on call blocking probability, erlang tables and markov chains **broken link removed**
 

anjali gautam

Newbie level 4
Joined
Oct 21, 2011
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,323
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
Joined
Aug 13, 2011
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,284
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
Joined
Feb 16, 2012
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,284
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
Joined
Oct 21, 2011
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,323
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)
 

s.v

Newbie level 1
Joined
Oct 19, 2013
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
3
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.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top