-
Abroad, a professor at the University of sermon, with the relevant source code,...
国外一大学教授讲章,附相关源程序,关于计算电磁学中的FDTD,详见内中chapter4-Abroad, a professor at the University of sermon, with the relevant source code, with regard to computational electromagnetics in the FDTD, see inside of chapter4
- 2022-06-17 16:49:54下载
- 积分:1
-
//=== === === === === === =====
//函数说明
//函数名称:Correlation
//函数功能:计算最小二乘法拟合...
//=== === === === === === =====
//函数说明
//函数名称:Correlation
//函数功能:计算最小二乘法拟合的多项式的相关系数
//使用方法:int M------拟合多项式的项数(已知条件)
// double *b---拟合曲线的系数,按升次排列(已知条件)
// double *x---结点x轴数据(已知条件)
// double *y---结点y轴数据(已知条件)
// double *Yg--结点估计值,与*y相对应,个数为m(过程变量)
// int m------结点个数(已知条件)
//注意事项:多项式阶数最高为10,多项式的形式为 y = b0 + b1*(x-Xavr)...
-//=== === === === === === === === === === === =====// Function that// function name: Correlation// Function: Calculation of the polynomial least squares fitting correlation coefficient// Usage: int M------ polynomial fitting the number of (known conditions)// double* b-- Fitting curve coefficient, or times by arrangement (known conditions)// double* x--- node x-axis data (known conditions)// double* y--- node y-axis data (already known conditions)// double* Yg- the estimated value of node, and* y correspond to the number for m (process variables)// int m------ node number (known conditions)// Note: polynomial order up to 10, the polynomial
- 2023-05-06 14:40:03下载
- 积分:1
-
基于神经网络的遗传算法优化垃圾邮箱分类实验
是数据挖掘实验课上的一个作业,垃圾邮箱分类,给了57个属性1个分类目标,0是垃圾邮箱1不是,给了训练集和测试集,用的C++写的神经网络,并用遗传算法优化了,正确率96.5%,但是时间较长
- 2022-07-01 21:00:49下载
- 积分:1
-
眼睛闪烁算法
这个项目是一个眼睛跟踪和闪烁检测使用 opencv 库、 算法的第一步是找到眼区域,然后模板匹配算法用于跟踪、 下一步是眨眼检测、 眨眼检测算法的第一步是要减去从最后一个图像,然后阈值结果与某一值,当前的眼睛图像和终于形态运算符 (开放) 用于筛选从噪音。
- 2023-04-09 08:20:03下载
- 积分:1
-
生物特征识别技术
生物识别:
- 2022-02-15 09:51:28下载
- 积分:1
-
小游戏贪吃蛇代码
设计出一个算法,贪吃蛇小游戏怎么做出来的,利用C++语言编写,代码简单,很容易看懂,function [p,ff] = oct3bank(noi);
pi = 3.14159265358979;
Fs = 500000; %1/(t(2)-t(1)); % Sampling Frequency
N = 3; % Order of analysis filters.
%f=[1.00 1.25 1.60 2.00 2.50 3.15 4.00 5.00 6.300 8.00]
ff=[20 25 31.5 40 50 63 80 100 125 160 200 250 315 400 500 630 800 1000 1250 1600 2000 2500 3150 4000 5000 6300 8000 10000 12500 16000]
%ff = ((2^(1/3)).^[0:19]); % Exact center freq.
p = zeros(1,30);
% Design filters and compute RMS powers in 1/3-oct. bands
- 2022-03-14 23:12:20下载
- 积分:1
-
本代码是《计算机常用数值计算算法与程序 C++版》一书的配套数值拟合与逼近代码,这些C++程序已经在Virsual C++ 6.0环境下通过。注意,在VC++...
本代码是《计算机常用数值计算算法与程序 C++版》一书的配套数值拟合与逼近代码,这些C++程序已经在Virsual C++ 6.0环境下通过。注意,在VC++ 6.0中设置好路径,特别是include目录(文件夹)的路径,否则在编译时会出现找不到头文件的错误,使编译无法正常进行。-the code is "commonly used computer numerical algorithms and procedures C version," a book supporting numerical approximation fitted with the code, these procedures have been in C C 6.0 Virsual environment through. The attention of the VC 6.0 installed path, in particular include directory (folder) path, otherwise there will be compiled header files could not find the mistakes and the compiler not normal.
- 2022-06-27 07:38:27下载
- 积分:1
-
格路问题:经典的算法分析与设计题目,用动态规划的方法解决从一个网格起点到终点的最短路径问题...
格路问题:经典的算法分析与设计题目,用动态规划的方法解决从一个网格起点到终点的最短路径问题-Lattice path problem: the classical algorithm analysis and design topics, with the dynamic programming solution to start from a grid to the end of the shortest path problem
- 2022-07-04 01:17:42下载
- 积分:1
-
随机生成迷宫并绘出路径
资源描述C语言简单迷宫小程序,随机生成迷宫并求解绘图
- 2023-04-06 13:05:03下载
- 积分:1
-
A* 算法K短路算法
所谓K短路,就是从s到t的第K短的路,第1短就是最短路。
如何求第K短呢?有一种简单的方法是广度优先搜索,记录t出队列的次数,当t第k次出队列时,就是第k短路了。但点数过大时,入队列的节点过多,时间和空间复杂度都较高。
A*是在搜索中常用的优化,一种启发式搜索。简单的说,它可以用公式表示为f(n) = g(n) + f(n),其中,f(n)是从s经由节点n到t的估价函数,g(n)是在状态空间中从s到n的实际代价,h(n)是从n到t的最佳路径估计代价。在设计中,要保证h(n)
- 2023-06-26 04:50:02下载
- 积分:1