函数[throughput,meanDelay,trafficOffered,pcktCollisionProb]=saloha(sourceNumber,packetReadyProb,maxBackoff,simulationTime,showProgressBar,niceOutput)%函数[throughput,meanDelay,trafficoffered,packetCollisionProb]=saloha(sourcenumber,PacketReadyProbability,maxBackoff,simulationTime,showProgressBar,niceOutput)%;&showprogressbar,niceoutput)%%+++函数输入参数%%sourcenumber(positiveinteger):生成数据包的数据源数。%%packetreadyprobability(real,[0,1]):给定数据源在任何给定时隙准备传输数据包的概率。%