北京大学ACM题 Here is a geometric problem. You have an angle and some squares in the first quadrant of the plane rectangular coordinates. The vertex of the angle is fixed on the origin O of the coordinates, and both of its radial lines are specified by the input. The sizes of the squares are also specified by the input, and the squares can shift vertically and horizontally. Now your job is to use the squares and the radial lines of the angle to enclose the maximum area, which excludes the area of the squares (see Figure 1). You should note that the edges of the squares must be parallel to the axes.
标签: geometric quadrant problem squares
上传时间: 2013-12-25
上传用户:ynzfm
KMEANS Trains a k means cluster model.CENTRES = KMEANS(CENTRES, DATA, OPTIONS) uses the batch K-means algorithm to set the centres of a cluster model. The matrix DATA represents the data which is being clustered, with each row corresponding to a vector. The sum of squares error function is used. The point at which a local minimum is achieved is returned as CENTRES.
标签: CENTRES KMEANS OPTIONS cluster
上传时间: 2014-01-07
上传用户:zhouli
% EM algorithm for k multidimensional Gaussian mixture estimation % % Inputs: % X(n,d) - input data, n=number of observations, d=dimension of variable % k - maximum number of Gaussian components allowed % ltol - percentage of the log likelihood difference between 2 iterations ([] for none) % maxiter - maximum number of iteration allowed ([] for none) % pflag - 1 for plotting GM for 1D or 2D cases only, 0 otherwise ([] for none) % Init - structure of initial W, M, V: Init.W, Init.M, Init.V ([] for none) % % Ouputs: % W(1,k) - estimated weights of GM % M(d,k) - estimated mean vectors of GM % V(d,d,k) - estimated covariance matrices of GM % L - log likelihood of estimates %
标签: multidimensional estimation algorithm Gaussian
上传时间: 2013-12-03
上传用户:我们的船长
% decode with soft-input viterbi algorithm 硬判决 % //k=4,r=1/2 %输入数据为软信息,并且数据为均值为1的BPSK调制,如果均值为MEAN,那么62,63,103,104行应做相应修改
标签: soft-input algorithm viterbi decode
上传时间: 2014-10-28
上传用户:aig85
witness得基础模型,适合初学者,这一包有tank,shift,timeseries,和将报表弄出来的训练模型
上传时间: 2014-01-02
上传用户:66666
The package includes 3 Matlab-interfaces to the c-code: 1. inference.m An interface to the full inference package, includes several methods for approximate inference: Loopy Belief Propagation, Generalized Belief Propagation, Mean-Field approximation, and 4 monte-carlo sampling methods (Metropolis, Gibbs, Wolff, Swendsen-Wang). Use "help inference" from Matlab to see all options for usage. 2. gbp_preprocess.m and gbp.m These 2 interfaces split Generalized Belief Propagation into the pre-process stage (gbp_preprocess.m) and the inference stage (gbp.m), so the user may use only one of them, or changing some parameters in between. Use "help gbp_preprocess" and "help gbp" from Matlab. 3. simulatedAnnealing.m An interface to the simulated-annealing c-code. This code uses Metropolis sampling method, the same one used for inference. Use "help simulatedAnnealing" from Matlab.
标签: Matlab-interfaces inference interface the
上传时间: 2016-08-27
上传用户:gxrui1991
以filemon开源代码为模板,加以修改,增加界面控制程序,可以添加指定文件加以保护(禁止被shift+del删除)。
上传时间: 2014-01-05
上传用户:lvzhr
ZLG7290B 是广州周立功单片机发展有限公司自行设计的数码管显示驱动及键盘扫描 管理芯片。能够直接驱动8 位共阴式数码管(或64 只独立的LED),同时还可以扫描管理 多达64 只按键。其中有8 只按键还可以作为功能键使用,就像电脑键盘上的Ctrl、Shift、 Alt 键一样。另外ZLG7290B 内部还设置有连击计数器,能够使某键按下后不松手而连续有 效。采用I2C 总线方式,与微控制器的接口仅需两根信号线。该芯片为工业级芯片,抗干扰 能力强,在工业测控中已有大量应用。
上传时间: 2013-12-02
上传用户:evil
ClustanGraphics聚类分析工具。提供了11种聚类算法。 Single Linkage (or Minimum Method, Nearest Neighbor) Complete Linkage (or Maximum Method, Furthest Neighbor) Average Linkage (UPGMA) Weighted Average Linkage (WPGMA) Mean Proximity Centroid (UPGMC) Median (WPGMC) Increase in Sum of Squares (Ward s Method) Sum of Squares Flexible (ß space distortion parameter) Density (or k-linkage, density-seeking mode analysis)
标签: ClustanGraphics Complete Neighbor Linkage
上传时间: 2014-01-02
上传用户:003030
A Module-based Wireless Node (MW-Node) is a Node with wireless and mobile capabilities added by means of modules. It is not a new node object derived from Node. Rather it is a new layout of mostly existing components. Rationale for this new design has been presented in [1]. The MW-Node provides a flexible support for wireless and mobile networking and in particular: support for multiple interfaces/multiple channels, and a common basis for the implementation of wireless routing protocols.
标签: Node Module-based capabilities Wireless
上传时间: 2013-12-26
上传用户:大三三