Clear Filters
Clear Filters

Finding Maximum Arrival Rate in Matlab using Graph Plot

1 view (last 30 days)
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.

Answers (0)

Community Treasure Hunt

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

Start Hunting!