Finding Maximum Arrival Rate in Matlab using Graph Plot

8 ビュー (過去 30 日間)
Amra Feta
Amra Feta 2020 年 11 月 9 日
I have created the code for my matrix in queuing network(more focused on Open Queuing Network). However I am new to Simulink and I need some help in plotting and creating a graph(not sure if I need to use Simulink).
Here is my code:
N=6
M_sparse=sprand(N,N+1,0.5)
M=full(M_sparse)
M(1:1+size(M,1):end)=0
R=M(1:end,1:end-1)
determinant=det(eye(N)-R)
Q=inv(eye(N)-R)
gamma=randi([0 1],1,N)
lambda=gamma*Q
What I want to do is get time into the picture of arrival rates, to find the maximum arrival rate and how it behaves.

回答 (0 件)

カテゴリ

Help Center および File ExchangeLanguage Fundamentals についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by