设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2447|回复: 4

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

  [复制链接]
发表于 2011-1-11 10:17:40 | 显示全部楼层 |阅读模式
比如做这样一个表,让source调用:
7 I+ W/ f4 \3 ^1 n; P0~1分钟,58%;
/ S* K* a6 c9 |' `4 i3 W1~2.4分钟,7%;
; C! ]' U: F" u6 I( D2.4~3.9分钟,7%;
6 j( l5 r( ?, Z1 }3.9~6.9分钟,8%;1 B* K: L* Q8 G& q
6.9~13.9分钟,5%;
/ }2 b% J% M' ]& Z, b/ [4 [1 E13.9以上,15%。: Q0 W5 _- D. V" `

2 @  ~( L9 g! G/ l# \8 @谢谢!
 楼主| 发表于 2011-1-11 11:10:57 | 显示全部楼层
如果不能用表生成,用Method生成可以吗?Simtalk怎么编写?
 楼主| 发表于 2011-1-11 21:49:02 | 显示全部楼层
Continuous Empirical (Histogram)
" t- P, w# T+ B2 {) cThe 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.
9 F7 @. m5 M7 }. u& E+ S$ T
% }8 F5 v! J0 p8 \; aThe 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. : G; ~8 a  S2 ]- T6 t! k
( j2 X8 x+ @" `7 F8 Z+ `9 Z1 h9 E

7 Y' a+ j  M2 d( |" T9 J& v! _( Z+ X7 f9 U  r% @" B2 D% x
The 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.
% p  s+ W' [$ s) W8 S( f
# F, B1 Z. J# ~, J/ Q" u( @Usage:  z_cEmp(s,tab);  
1 y' f% t/ R; S! o1 y2 o
! ^+ c: V5 Q& M/ hThe expression s (integer) defines the random number stream, tab the frequency table.
 楼主| 发表于 2011-1-11 22:04:56 | 显示全部楼层
回复 3# mengling : x1 e/ m: K. D% D

+ y2 S- D6 Y% k* X' t
) h: @1 D  @, q2 ?    谢谢您!
发表于 2011-4-14 10:35:15 | 显示全部楼层
学习中
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-23 19:41 , Processed in 0.012954 second(s), 15 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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