Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Single queue Multiple server problem
I want do a queuing model for single queue multiple server. Currently, i can do for 2 servers only. I want to make the user can input the number of servers and the queue should react according to the number of servers. Please need help here..
arrivalT = [1 5 7 10 18 19 20 25 28 30];
serviceT = [3 7 9 2 20 20 3 1 20 8];
serverN = input('Number of server:');
fprintf('ATime STime Ftime
k=[arrivalT', serviceT', finishT'];
0 · ·