搜索资源列表
GraphAlgorithms
- Lagrange插值函数lagr1(x0,y0,x)的matlab源程序: function y=lagr1(x0,y0,x) n=length(x0) m=length(x) for i=1:m z=x(i) -Lagrange interpolation function lagr1 (x0, y0, x) Matlab source : lagr1 function y = (x0, y0, x) n = length (x0) m = length (x) for
partition1
- 实验描述:分布式数据库的算法partition的具体实现。即通过该算法找到关系数据库最优分裂点,使得结果最优。 算法思想: 1、 首先根据所输入的attribute usage matrix得到AQ( ) 2、 对CA矩阵中划分点预先设在n-1处,并将属性列分成两个集合,TA和BA,TA中的元为:{ A1 、A2 …… An-1 },BA中的元素为:{ An} 3、 确定集合TQ、BQ和OQ,其中TQ={ qj| AQ(qi) TA},BQ= TQ={ qj| AQ(qi) BA
partition2
- 实验描述:分布式数据库的算法partition的具体实现。即通过该算法找到关系数据库最优分裂点(2个),使得结果最优。 1、 首先根据所输入的attribute usage matrix得到AQ( ) 2、 对CA矩阵中划分点预先设在n-1处,并将属性列分成3个集合,TA和BA和MA, 3、 确定集合TQ、BQ,MQ和OQ,其中TQ={ qj| AQ(qi) TA},BQ= TQ={ qj| AQ(qi) BA}, MQ={ qj| AQ(qi) MA},OQ=Q-{TQ BQ}。
Data4final
- 移位密码、代换密码的加密及解密 实现移位密码:k表示26个字母向前循环位移的字符个数 加密: 输入:k,以及小写表示的明文字母,输出:大写字母表示的密文 解密:输入: k,以及大写字母表示的密文,输出:小写字母表示的明文 例如,当k=11时 明文:wewillmeetatmidnight 密文:HPHTWWXPPELEXTOYTRSE 实现代换密码 例如输入密匙guangzhouuniversity,则建立字母对应关系: a b c d e f g
234156789097
- 商业单位需要容易记忆的电话号码,有一些方法可以让电话号码变得更容易记忆。譬如,可以把电话号码写成单词或短语,如 TUT-GLOP 可以代表滑铁卢大学的电话。有时仅仅是把号码的一部分写成单词,如打 310-GINO 便可向 GINO 比萨饼店定购比萨。另一种让电话号码容易记忆的方法是将数字用一种容易记的方式组合起来,譬如 3-10-10-10 也可以代表 GINO 比萨饼店。 电话号码的标准形式是七位十进制数字,在它的第三位和第四位之间用连字符连接(例如:888-1200)。电话的键盘提
exa070501
- 共轭正交镜像滤波器组的设计。令N=22,wp=0.45pi,用切比雪夫最佳一致逼近法设计单带滤波器G(z),在得到半带滤波器Hlf(z). -conjugate mirror filters orthogonal design. Order N = 22, wp = 0.45pi. Chebyshev with the best approximation consistent single-band filter design G (z), with the half-band filte
Relatives
- 求小于n的互素的个数 Given n, a positive integer, how many positive integers less than n are relatively prime to n? Two integers a and b are relatively prime if there are no integers x > 1, y > 0, z > 0 such that a = xy and b = xz. There are s
E22_0230
- 一:需求分析 1. 问题描述 魔王总是使用自己的一种非常精练而抽象的语言讲话,没人能听懂,但他的语言是可逐步解释成人能听懂的语言,因为他的语言是由以下两种形式的规则由人的语言逐步抽象上去的: ----------------------------------------------------------- (1) a---> (B1)(B2)....(Bm) (2)[(op1)(p2)...(pn)]---->[o(pn)][o(p(n-1))].....[o
draw_function
- 用户输入一个形式为y=x^m+z^n的函数,当然x和z的次数可以任意,并且可以有多个。程序将画出这个函数表示的图像。
030300726[1]
- 1-2 实系数复变多项式问题« 编程任务:给定阶数分别为n和m的实系数复变多项式f(x) 和g(x),以及复数z,计算f (z) / g(z)的值。« 数据输入:由文件input.txt 给出输入数据。第一行有2 个正整数g(x) 的阶数。接下来的2行,每行分别有n和m个实数数。最后一行的2 个实数分别表示复数z 的实部和虚部。« 结果输出:将计算出的f (z) / g(z)的值输出到文件output.txt。文件的第一行是计算得到的复数,保留6 位有效数字。
耿5
- oid move(char x,char y,struct H num[3]) /*Ò Æ ¯ µ Ä ¾ ß Ì å ¹ ý ³ Ì */ void hanoi(char x,char y,char z,int n,struct H num[3]) /*µ Ý ¹ é*/ void Init(void) /*³ õ
radixsort222
- 输入数据中车牌号码的格式如下(共七位):其中前2位01-04代表地区,第3位A-Z代表车的\\n使用类型,后4位0000-9999代表车号。-input data registration number, the format is as follows (a total of seven) : it 01-04 before two representatives, the first three A-Z on behalf of the car \\ n use types, after
一个非常好用的Autocad工具集
- ********************************************************* * AyungerStudio AutoCAD-Tools 更新日期: 2010.02.01 * ********************************************************* 这是本人近年来独自开发的一个AutoCAD修改工具集合,现与各位共享,主要包括: 1、 绘制类: 箭头、示坡线、锥坡线、剖断线、垂线、切线、等高线加
boot
- 数根 数也有根吗?有!数根就是把一个数的各个数位上的值相加,直到得到一个一位数为止。请你编写一个程序来计算任意数N(0≤N≤1000000000000)的根。 输入: 输入有多个案例。每一个案例为一行,每行只有一个整数N。当输入的N是-1时,输入结束。 输出: 每一个案例输出一行。每行只有一个数字,就是N对应的数根。 Sample input 39 -1 Sample output 3-Number of root number als
PIDdeZ-Nzhengding
- 这是一段Z-N法整定PID参数的程序,非常的实用-This is a Z-N method PID parameter tuning process,it is Very useful
Z-N-PID-control
- Z N法进行PID控制,采用simulink进行仿真,得到最优控制参数,属于工程上的参数整定 -Z N method for PID control, using simulink simulation, get the optimal control parameters, belong to the engineering parameter setting
868123
- #include <stdio.h> #include <stdlib.h> //输入十进制数N和转化的进制数M void trans(int n,int m) { char str[100] int i for(i=0 n>0 i++) {if (n m<10) {str[i]=n m+ 0 } else {str[i]=n m-10+ A } n=n/m } for(n=i
bayes_multiclass
- z=bayes_classifier(m,S,P,X). This function outputs the Bayesian classification rule for M classes, each modeled by a Gaussian distribution. where, M: the number of classes. • l: the number of features (for each feature vector). •
eucledian_classifier
- z=euclidean_classifier(m,X). This function outputs the Euclidean classifier, given the mean matrix. M: the number of classes. • l: the number of features (for each feature vector). • N: the number of data vectors. • m: lxM ma
mahalnobis
- z=mahalanobis_classifier(m,S,X).This function outputs the Mahalanobis classifier, given the mean and covariance matrices. • M: the number of classes. • l: the number of features (for each feature vector). • N: the number of
