# Drawing N random packet arrivals

1 visualizzazione (ultimi 30 giorni)
Cladio Andrea il 22 Feb 2015
Hello everyone, i have a scaled uniform distribution in a given period T=60s. and the total simulation time t=3600s.
Uniform distribution is the packet of arrivals as this is:
pd2 = makedist('Uniform','lower',0,'upper',60);
x = -5:0.001:101;
pdf2 = pdf(pd2,x);
figure;
stairs(x,pdf2,'b-','LineWidth',2);
ylim([0 0.1]);
xlim([-5 100]);
that is the distribution of packet arrivals on the interval [0,T]. Here in the flow diagram , the option 'a' the first step is to draw N=200 rand packet arrivals -- fT(t) on T, do you know how to create that step? please help me
##### 0 CommentiMostra -2 commenti meno recentiNascondi -2 commenti meno recenti

Accedi per commentare.

### Categorie

Scopri di più su Uniform Distribution (Continuous) in Help Center e File Exchange

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by