Defining Matrix for Arrival Process of Data for Different Slots

조회 수: 3 (최근 30일)
Shahrukh Kasi
Shahrukh Kasi 2017년 10월 13일
편집: Shahrukh Kasi 2017년 10월 14일
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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Financial Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by