文件名称:Rouletter
介绍说明--下载内容来自于网络,使用问题请自行百度
某小型书会有100本书,并排放在一个架子上,供大家借阅。大家每次借阅一本,看完后即放在书架的最左边。每一本书根据热门程度的不同赋予不同的值,该值介于0~1之间,且0表示最冷门,1表示最热门。假设每天每人只能借1本书,且需要当天归还。会所共有100人,每天借书的人服从参数为0.1的几何分布。试模拟该过程,并指出1年(365天)后书的排列情况,并探讨该排列与书热门程度之间的关系。提示:由于是随机模拟,故整个实验需要多次执行,并显示统计结果。-A small book of 100 books, and emissions in a shelf for everyone to borrow. Every time we borrow one, after reading on the bookshelf to the left. Each book is based on popularity of different given different value between 0 and 1, and 0 is the most popular, one that the most popular. By assuming only one book per person per day, and need to return the same day. Club 100 people a day, borrowing obey the geometric distribution of parameter 0.1. Try to simulate the process, and that one year (365 days) after the arrangement of the book, and to explore the arrangement and the relationship between the degree of popular books. Tip: Due to the stochastic simulation, so the need to repeatedly perform the experiment, and show results.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Rouletter.m
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.