Defining Matrix for Arrival Process of Data for Different Slots

4 Ansichten (letzte 30 Tage)
Shahrukh Kasi
Shahrukh Kasi am 13 Okt. 2017
Bearbeitet: Shahrukh Kasi am 14 Okt. 2017
I want to define a matrix (ag,t) that can take the values of an arrival process that follows Binomial Distribution. Its values should be different for each timeslot. I am not sure how to follow the problem and would really appreciate help in this regards. The attached picture explains the query.
</matlabcentral/answers/uploaded_files/90870/Untitled.jpg> This is what I have tried but I don't know how to define it such that it different for each time slot.
cluster_nbrs = 3; % # of clusters
G = zeros(1,cluster_nbrs); % Clusters Vector
p = 0.97; % Probability of packet being transferred
n = 1000; % # of time slots at which packet is transferred
arrival_gt = zeros(1,cluster_nbrs); % Arrival Process of a given data packet during time slot t
for q = 1:cluster_nbrs
arrival_gt (q) = binopdf(G(q),n,p); % Probability that arrival = n
end

Antworten (0)

Kategorien

Mehr zu Financial Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by