搜索资源列表
一个非常好用的Autocad工具集
- ********************************************************* * AyungerStudio AutoCAD-Tools 更新日期: 2010.02.01 * ********************************************************* 这是本人近年来独自开发的一个AutoCAD修改工具集合,现与各位共享,主要包括: 1、 绘制类: 箭头、示坡线、锥坡线、剖断线、垂线、切线、等高线加
Hanoi
- 一个Hanoi的小游戏 void Hanoi(int n, char x,char y,char z) { if (n==1) { printf("%c %d %c\n",x,n,z) return } Hanoi(n-1,x,z,y) printf("%c %d %c\n",x,n,z) Hanoi(n-1,y,x,z) }-Hanoi in a game void Hanoi (int n, char x, char
squaregrey
- 该函数是求出N*P矩阵的各行间的1减去平均灰色关联度对称矩阵,并用矩阵Z输出-The function is calculated N* P matrix between the lines of the one minus the average gray relational grade symmetric matrix, and output matrix Z
GA__MATLAB
- 探讨了在 Mh T I AB环境中实现遗传算法仿真 的方法 , 并 以一个 简单的求函数最值的问 题作为遗传算法的应用实铡, 说明遗传算法的全局寻优性及用 M AI I AB实现仿真的可行性。-A me f l ~dt o r e Aa z e g e me f i e t I 皿 i n MKI I AB i s d ~- u s s e d.A ha e t i o ~o p t h r f i z a f i o n p r o b l e m i s p r e
object
- 根据给定点的函数值,应用拉格朗日插值公式,计算指定插值点处的 函数值。 在指定点的前后各取四个结点,用七次拉格朗日插值公式。 X,Y为输入参数,各有N个点 T为指定插入点 Z为输出参数,是插值点T处的近似值。 -put x,y
JUZHEN
- Descr iption 给定一个有N个矩阵的矩阵链A1A2A3...An,矩Ai的维数为pi-1*pi。我们都知道,使用朴素的矩阵乘法去乘两个维数分别为x,y和y,z的矩阵,所需要的乘法次数为x*y*z。矩阵链乘法问题就是如何对矩阵乘积加括号,使得它们的乘法次数达到最少。 Input 输入的第一行为一个正整数N(1<=N<=200)。表示矩阵的个数。 输入的第二行包含N+1个整数,分别表示pi(0<=i<=N),其中每个pi在[1
boot
- 数根 数也有根吗?有!数根就是把一个数的各个数位上的值相加,直到得到一个一位数为止。请你编写一个程序来计算任意数N(0≤N≤1000000000000)的根。 输入: 输入有多个案例。每一个案例为一行,每行只有一个整数N。当输入的N是-1时,输入结束。 输出: 每一个案例输出一行。每行只有一个数字,就是N对应的数根。 Sample input 39 -1 Sample output 3-Number of root number als
Rbo
- 采样率为sr,多选择II导联作为心电分析数据,该分析要用到的数据记录至少为1分钟的心电波形数据-void main() (E3BGX[ { const int N=15420 //N=sr*time M./3@A const int n=(int)sr*0.04,yanshi=(int)sr*0.2,back=(int)sr*0.04 //n=sr*0.04,yanshi=sr*0.2?,back=sr*0.04 PDl=!>u
rossler
- 混沌工具function [x,y,z]=rossler(n,level,a,b,c,x0,y0,z0,h)-function [x,y,z]=rossler(n,level,a,b,c,x0,y0,z0,h)
PIDdeZ-Nzhengding
- 这是一段Z-N法整定PID参数的程序,非常的实用-This is a Z-N method PID parameter tuning process,it is Very useful
search
- 对于给定的N,求出(0,N]区间的所有满足x^2+y^2=z^2的正整数三元组(x,y,z)。-For a certain N, calculate all the group numbers of (x,y,z) that fit the condition of x^2+y^2=z^2.
nn
- 最近邻算法实现 k近邻 Z为训练集,每行一个样本,n*m labZ为与Z对应的类别,列向量 Z_T为测试集,每行一个样本,p*m labZ_T为输出结果,p*1-Nearest-neighbor algorithm
sysconvert
- 进制间的转换,顶顶顶,大学期间的作品,经供参考-#include<stdio.h> #include<math.h> int main(){ int b,c,i,j int d[10000] char a[37]={ 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , A , B , C , D , E , F , G , H , I , J , K , L , M , N , O , P , Q
Crypto123
- Each letter is represented by a number modulo 26. (Often the simple scheme A = 0, B = 1, ..., Z = 25 is used, but this is not an essential feature of the cipher.) To encrypt a message, each block of n letters (considered as an n-component vector) is
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
Do-the-Untwist
- The message to be encrypted is stored in plaintext. Given a key k, the encryption method works as follows. First convert the letters in plaintext to integer codes in plaincode according to the following rule: _ = 0, a = 1, b = 2, ..., z = 26, and . =
TranCoordinate
- 輸入點位於WGS84之大地經、緯度,可於命令窗顯示此點之卯酉圈曲率半徑N、子午圈曲率半徑M及平均曲率半徑R及此點之空間直角坐標X、Y及Z。-Input point is located in the WGS84 geodetic latitude and longitude can be displayed in the command window of the prime vertical radius of curvature point N, M meridian radius of c
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
