-
空心数字梯形
输入行数 n 和首数字字符,在屏幕上输出由数字围起的高和下底宽度均 n 的空心梯形。 要求:输出的数字是循环的,即输出数字 9 后再输出的数字是 0。输入: 行数n 和首字符输出: 空心梯形例:输入:5 5输出:5 6 7 8 9 0 1 0 9 8 7 6 5
6 6
7 7
8 8
9 0 1 0 9
- 2023-02-21 05:30:04下载
- 积分:1
-
遗传算法程序
遗传算法的程序实现,包括随机数产生,初始化种群,适应度计算,种群排序,反馈式突变选择、交叉、变异等步骤组成。
使用中自行调节适应度函数。
- 2022-07-26 12:05:46下载
- 积分:1
-
KNN算法构建分类器(Python实现)
Mathing Learning in action 书中第二章源代码,用Python实现KNN算法,,并用Matplotlib创建散点图,构件分类器及完整的可用系统。1.收集数据:提供文件文本2.准备数据:使用Python解析文本文件3.分析数据:用Matplotlib画二维扩散图4.训练算法:5.测试算法:6.使用算法构建分类器,并完成可用系统
- 2022-01-25 16:52:08下载
- 积分:1
-
用VB实现的数据的统计描述
包括分布的矩
用VB实现的数据的统计描述
包括分布的矩---均值、平均差、标准差、方差和中位数的搜索、均值与方差的显著性检验等-VB data including the statistical description of the moment-- the distribution mean, mean difference, standard deviation, variance and median search, the mean and variance significantly inspection
- 2022-08-23 18:33:49下载
- 积分:1
-
mtlab中INV()求逆函数的C++代码
资源描述在matlab中,inv()函数一一个自带十分快速的求逆的算法,但是在matlab中是不公开的,为了方便,本程序将INV()函数做出C++代码方便用户的使用。
- 2023-06-22 13:50:03下载
- 积分:1
-
科学与工程计算中常用的插值算法:Aitken、Akima、Hermite、Lagrange、样条插值等。...
科学与工程计算中常用的插值算法:Aitken、Akima、Hermite、Lagrange、样条插值等。-Science and engineering computing interpolation algorithm commonly used: Aitken, Akima, Hermite, Lagrange, spline interpolation.
- 2022-03-19 21:38:14下载
- 积分:1
-
Least Soft-thresold Squares Tracking
we propose a generative tracking method based on a novel robust linear regression algorithm. In con-
trast to existing methods, the proposed Least Soft-thresold Squares (LSS) algorithm models the error term with the
Gaussian-Laplacian distribution, which can be solved ef- ficiently. Based on maximum joint likelihood of parameters,
we derive a LSS distance to measure the difference between an observation sample and the dictionary. Compared with
the distance derived from ordinary least squares methods, the proposed metric is more effective
- 2022-03-22 17:30:20下载
- 积分:1
-
编译与设计代码
LexAndYaccTutorial 使用源代码及其详解,编译通过
- 2022-03-14 19:11:16下载
- 积分:1
-
最优潮流计算程序(使用电力系统专业,属于非线性规划问题)....
最优潮流计算程序(使用电力系统专业,属于非线性规划问题).-optimal power flow calculation procedure (using power systems professional, is Nonlinear Programming).
- 2022-04-30 05:41:37下载
- 积分:1
-
A discrete cosine transform (DCT)
离散余弦变换(DCT)用余弦和表示有限的数据点序列;
- 2022-02-03 16:43:10下载
- 积分:1