freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內容

最新matlab仿真設計多服務臺排隊系統(tǒng)建模與動畫仿真(編輯修改稿)

2025-08-24 22:52 本頁面
 

【文章內容簡介】 39。 %單服務臺模式 liyong = daoda/fuwu。%獲得服務強度 %以下為仿真模型參數計算 if (liyong 0)amp。amp。(liyong 1) amp。amp。(daoda0) amp。amp。 (fuwu0) AP = zhuangtai(fuwu,daoda,1,liyong)。 Lq = (liyong)*liyong*AP/((1liyong)^2)。 Ls = Lq + daoda/fuwu。 Wq = Lq/daoda。 Ps = 1AP。 daoda1 = daoda。 fuwu1 = fuwu。 tai1 = 1。 else errordlg(39。輸入錯誤,請重新輸入39。,39。錯誤39。)。 end case39。s39。%多服務模式 tai = str2num(get(,39。string39。))。 liyong = daoda/(fuwu*tai) if (liyong 0)amp。amp。(liyong 1) amp。amp。(daoda0) amp。amp。 (fuwu0) amp。amp。 (tai0) AP = zhuangtai(fuwu,daoda,tai,liyong)。 Lq = ((tai*liyong)^tai)*liyong*AP/(factorial(tai)*(1liyong)^2)。 Ls = Lq + daoda/fuwu。 Wq = Lq/daoda。 Ps = 1AP。 daoda1 = daoda。 fuwu1 = fuwu。 tai1 = tai。 else errordlg(39。輸入錯誤,請重新輸入39。,39。錯誤39。)。 end otherwise errordlg(39。請選擇仿真類型39。,39。錯誤39。)。end%顯示平均等待時間,平均隊長,服務利用率set(,39。string39。,num2str(Wq))。set(,39。string39。,num2str(Ls))。set(,39。string39。,num2str(Ps))。%動畫制作% Executes on button press in dh.function dh_Callback(hObject, eventdata, handles)% hObject handle to dh (see GCBO)% eventdata reserved to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)global daoda1global fuwu1global tai1global stpstp = 0。axes()。N = 10000。%獲得到達率與服務率、服務臺數daoda2 = 1/daoda1。fuwu2 = 1/fuwu1。tai2 = tai1。%num_ser = 0。%num_wait = 0。%num_leave = 0。%利用泊松分布獲得到達時間間隔與服務時間time_arrive = (ceil(poissrnd(daoda2,1,N)))。time_ser = (ceil(exprnd(fuwu2,1,N)))。%延長各時間,避免出現連續(xù)間隔為0導致結果錯誤time_arrive = time_arrive + 。time_ser = time_ser +。%time_arrive_sum = cumsum(time_arrive(1,:))。%time_ser_sum = cumsum(time_ser(1,:))。%time_leave(1) = time_arrive(1) + time_ser(1)。%for k=2:N %time_leave(k) = time_leave(k1) + time_ser(k)。%end%繪制入口X0 = [40 40 60 60 40]。Y0 = [0 20 20 0 0]。plot(X0,Y0)。fill(X0,Y0,39。b39。)。text(45,11,39。\fontsize{20}入口39。)。hold on%繪制服務臺X1 = [35 35 65 65 35]。Y1 = [80 100 100 80 80]。plo
點擊復制文檔內容
環(huán)評公示相關推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1