Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Creating Custom Equation for Gravity Model

Subject: Creating Custom Equation for Gravity Model

From: Titus Adelani

Date: 17 Jun, 2009 19:51:01

Message: 1 of 1

Hi all,
I am trying to create a custom distribution for the 'gravity' model used for modelling traffic distribution for a N-node network. The volume of traffic entering network at node i and leaving at node j is defined by the gravity model as:

V(i,j) = (exprnd(alfa(i)) * exprnd(beta(j)))/sum(exprnd(alfa));

where i = 1, 2, ....N; j = 1, 2, ...., N
alfa and beta are N-dimensiona vectors of mean traffic volume. For example alfa(i) is the mean traffic volume entering the network via node i and beta(j) is the mean traffic volume leaving the network via node j. The traffic entering or leaving the network is assumed to be exponentially distributed.

So given a set of data for V(i,j), and the value of N, I want to used the above custom equation to estimate the parameters alfa and beta of the data. I also want to see how well a data fits this distribution.

Can anyone exist in creating a custom distribution based on the above equation?

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us