设为首页收藏本站

最大的系统仿真与系统优化公益交流社区

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2449|回复: 4

[求助] 怎样做经验分布表?谢谢!

  [复制链接]
发表于 2011-1-11 10:17:40 | 显示全部楼层 |阅读模式
比如做这样一个表,让source调用:2 Z3 B8 @$ l3 |- @$ k
0~1分钟,58%;
! E- m! o2 @  k4 ~" y1~2.4分钟,7%;
' P" P$ n% T! t- d3 N2.4~3.9分钟,7%;
; L7 n2 s* [9 |8 P3.9~6.9分钟,8%;
9 u; A% b4 e2 K6.9~13.9分钟,5%;
: }% \) T+ G% m! V) h' Z1 ^: H  o13.9以上,15%。
9 L0 G2 q5 l3 c: C" z2 x: E- E, R  x) e5 e4 W
谢谢!
 楼主| 发表于 2011-1-11 11:10:57 | 显示全部楼层
如果不能用表生成,用Method生成可以吗?Simtalk怎么编写?
 楼主| 发表于 2011-1-11 21:49:02 | 显示全部楼层
Continuous Empirical (Histogram)
. |+ A2 p4 {  F% ~$ m1 @, E# WThe input data is preprocessed and grouped into k classes. Each class contains all samples within a given interval. The k intervals are disjoint but not necessarily adjacent. # I) H& t2 D5 v& Y* E

4 q) d2 D+ |8 UThe interval includes the lower bound but not the upper bound. If the left bound is equal to the right bound, the interval degenerates to a point. This special case is of interest if the probability of a single point is nonzero. : ?2 u# x5 o% x" ]

% Y% W) o" p1 r6 D. Y1 L
% R! }! I/ e) z) ~$ P" g0 V
( Y2 t# `( }2 o% H  cThe first column of the frequency table contains the lower bound, the second column contains the lower bound, the third column contains the frequency of the corresponding intervals. The data type of the third column has to be real, time, or integer. The number of values of the input data contained in an interval can be used as frequency, for example. ; C( {( C: m# X8 |7 I9 u

) N9 {( Y0 n3 c2 r8 ~0 ~0 lUsage:  z_cEmp(s,tab);  
0 u3 c9 v7 i2 b5 ^) L% {* p5 d, Y
3 ~* p" d% V( l; V! d; U0 p# ]' cThe expression s (integer) defines the random number stream, tab the frequency table.
 楼主| 发表于 2011-1-11 22:04:56 | 显示全部楼层
回复 3# mengling - @& k4 R$ R8 P3 A8 C2 ^6 H+ R9 O3 R

9 ?- \9 Y. b- r* t
0 {- P4 h! w: R+ \) p) }' l    谢谢您!
发表于 2011-4-14 10:35:15 | 显示全部楼层
学习中
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|SimulWay 道于仿真   

GMT+8, 2024-11-23 21:28 , Processed in 0.016323 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表