#coding=utf-8 import time import random as rd #import math import pylab as pl def simulate(nameda,u): arriveInternal=0 serviceTime=0 serverCondition=0 #0表示服务台空闲,1表示忙碌 waitTime=0 stayTime=[] tempArriveEventTime=[10000000] tempLeaveEventTime=[10000000]
频率采样定理是这样的: 由上述定理可知,一个有限长序列(假设为N)的DTFT等间隔采样,采样数至少大于等于N. 代码: %% ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ %% Output Info about this m-file fprintf('\n***********************************************************\n'