-
加汉宁窗FIR低通滤波器
这是一个用VC编写的FIR低通滤波器,通过加汉宁窗实现。其中可以按照各种设计要求得到不同冲激响应的FIR滤波器,并能通过设计好的滤波器计算它的最小阻带衰减,以检查所设计的滤波器是否满足设计要求
- 2022-10-20 03:40:02下载
- 积分:1
-
优化一个变量的函数
翻译 maninwest@Codeforge 作者:John D. Cook@CodeProject这里介绍一个算法,优化化带有一个变量的函数而不需要导数。通常,需要导数的方法稳定但是慢,不需要导数的方法快捷但是不稳定。这里实现的这个方法稳定且高效。这个方法开始是Richard Brent 实现的。 给定一个函数 f(x) 和一个区间l [a, b], 该方法是找出函数 f(x) 在 [a, b] 区间的最小值。该方法也可以用于找出最大值。要找出最大值,指向传递原函数的反函数。即 f(x) 的最大值出现在-f(x) 的最小值点。Brent 的方法比较稳定。也很容易使用。用户不需要提供导数函数。该方法为了稳定牺牲了一些效率,但是相比其他稳定的方法如黄金分割法,则更加快捷。使用函数这里给出的代码是一个 C++ 函数和使用此函数的示例项目。要在你自己的项目中使用,只需在 Brent.h.头文件中添加#include 即可。最小化函数的主要输入是一个模板化实参,一个函数对象实现目标函数最小化。目标函数必须使用签名 double operator()(double x)实现 Public 方法。例如,这里是一个用于计算函数 f(x) = -x exp(-x) 的函数对象类。 class foo
{
public:
double operator()(double x) {return -x*exp(-x);}
};代码需要函数对象而不是函数的主要原因是,需要在应用中优化的函数,除了函数实参外,还要依赖参数。函数对象可以有很多参数,它们在找到一个变量的结果函数最小值前固定。其他实参是函数需要找到最小值的区间的终点,偏差用于停止, 一个输出参数用
- 2022-01-26 15:15:42下载
- 积分:1
-
基于OPENCV的实例,提供实例源代码,请下载
基于opcv的实例,提供实例源码,欢迎下载-Based on opcv instance, provide examples of source code, please download the
- 2023-08-15 16:00:03下载
- 积分:1
-
Levenberg-Marquardt算法
文件中包含一篇关于Levenberg-Marquardt算法的详细介绍,和一个关于LM算法的简单实现
- 2022-03-15 05:46:39下载
- 积分:1
-
Dichotomy for solving nonlinear equations a root, you can calculate the approxim...
二分法求解非线性方程的一个根,可以计算出一般非线性方程的近似解-Dichotomy for solving nonlinear equations a root, you can calculate the approximate solution of general nonlinear equations
- 2023-02-22 22:25:03下载
- 积分:1
-
中值滤波算法,利用intel的mmx技术,速度比普通快上几十倍
中值滤波算法,利用intel的mmx技术,速度比普通快上几十倍-median filter, using the MMX technique from Intel, the speed is quite promising when compared to normal one
- 2022-06-27 10:50:46下载
- 积分:1
-
Enchanced TPSN
无线传感器中的时间同步算法网络。无线传感器网络是大规模的
- 2022-03-26 07:48:14下载
- 积分:1
-
dda algorithm is the basic algorithm in computer graphics, very useful, it is re...
dda算法是计算机图形学的基本算法,非常实用,建议大家用。可以画直线-dda algorithm is the basic algorithm in computer graphics, very useful, it is recommended by everyone. Can draw a straight line
- 2022-12-28 09:10:03下载
- 积分:1
-
Apriori算法
: Apriori算法是一种挖掘关联规则的频繁项集算法,其核心思想是通过候选集生成和情节的向下封闭检测两个阶段来挖掘频繁项集。
- 2022-05-28 11:00:45下载
- 积分:1
-
Exceptional C++ shows by example how to go about solid software engineering. Alo...
Exceptional C++ shows by example how to go about solid software engineering. Along with a lot of other material, this book includes expanded versions of the first 30 issues of the popular Internet C++ feature Guru of the Week (or, in its short form, GotW), a series of self-contained C++ engineering problems and solutions that illustrate specific design and coding techniques.
- 2022-12-15 03:15:03下载
- 积分:1