Continue to Site

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);
 

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
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
 

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
 

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...
 

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^^
 

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
 

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
 

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
 

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

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.........
 

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
 

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)
 

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)
 

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

Back
Top