搜索资源列表
带通fir设计及图形显示比较
- 数字带通滤波器的设计过程。共3个源程序。其中,dos.cpp为带通FIR的源程序,其中的滤波器阶数n,滤波器的低频fln,滤波器的高频fhn,窗函数w,可以按照自己的要求改变。这里采用的是汉宁窗。主函数main.cpp实现输入与fir的h(n)的卷积,输出结果Y(n),并将其存储在y.txt中。最后,graphics.cpp从y.txt读取数据,再由语句画出波形,可以清楚地看出计算结果是否正确,并进行比较。-digital band-pass filter design process. A t
hyplas
- ************************************************************************ * * * * * THIS IS THE H Y P L A S 2.0 README FILE * * ----------------- * * * * HYPLAS is a finite element program for implicit small and large * * strain analisys of hyperelast
marunge4gh
- 1 用途:4阶经典龙格库塔格式解常微分方程y =f(x, y), y(x0)=y0 格式:[x, y]=marunge4(dyfun,xspan,y0,h) dyfun为函数f(x,y), xspan为求解区间[x0, xn], y0为初值, h为步长, x返回节点, y返回数值解 2 用途:用LU分解法解方程组Ax=b -1 Uses: 4-order classical Runge-Kutta solution of ordinary differential
cpp_tracer
- Lifitime tracer. *** *** *** *** *** *** *** *** ***** Example: #include <timings.h> void foo() { TRACE_LIFETIME usleep(100000) } void main() { foo() } *** *** *** *** *** *** *** *** *** See lifetimes.log: FUNC
1
- 写一个函数并调用,解决一个小球从h米高度自由落下,每次落下后反弹回原高度的 一半再落下,求它在第n次落地时共经过多少米-Write a function and call to solve a small ball from a height h meters in free fall, bounce back after each drop to half the original height and then fall, seeking its first n second floor w
hash
- 已知某哈希表的装载因子小于1,哈希函数 H(key)为关键字(标识符)的第一个字母在字母表中 的序号,处理冲突的方法为线性探测开放定址法。 试编写一个按第一个字母的顺序输出哈希表中所有 关键字的算法。-Known load factor of a hash table is less than 1, the hash function H (key) for the keywords (identifiers) of the first letter of the alphabe
NumericalRecipesinCWilliam.H
- 本书编写了300多个实用而有效的数值算法C语言程序。其内容包括:线性方程组的求解,逆矩阵和行列式计算,多项式和有理函数的内插与外推,函数的积分和估值,特殊函数的数值计算,随机数的产生,非线性方程求解,傅里叶变换和FFT,谱分析和小波变换,统计描述和数据建模,常微分方程和偏微分方程求解,线性预测和线性预测编码,数字滤波,格雷码和算术码等。全书内容丰富,层次分明,是一本不可多得的有关数值计算的C语言程序大全。本书每章中都论述了有关专题的数学分析、算法的讨论与比较,以及算法实施的技巧,并给出了标准C语
calculator
- 设计简易交互式计算器,功能如下: (1) 计算器功能与Windows操作系统带的标准型的计算器系统相同。至少有+、-、*、/、开方、取倒数、清零、backspace的功能,可以对小数进行运算。 (2) 程序可以实现简单的没有括号的表达式计算, (3) 不使用math.h头文件,求开方运算时使用多项式拟合方式。 -Design simple interactive calculator, function as follows: (1) calculator function a
OLS(GLS)
- 网上的最小二乘法(GLS,OLS)大多只是个演示例子,并不能直接拿来用。本人对最小二乘法进行了封装,只保留了一个对外的接口函数,并附有详尽的参数列表说明,只需将两个文件加入到VC的工程中,使用时只需 #include "les.h" 后就可调用最小二乘法函数了。非常方便,可是包含了我的劳动成果的哟!-Most of least squares line is just a demonstration example, and can not be directly used. I carried
Gradient
- 采用理查森外推法计算标量函数梯度的程序(很容易改写为计算雅克比矩阵),算例为sin(x)+cos(y)。richarson(fun,x0)中,h是初始步长,j是迭代次数,精度是2*j+2阶。-Scalar function gradient procedures using Richardson extrapolation method, in the function richarson (fun, x0), h is the initial step, j is the number of
Kalman_
- EKF for Kalman filter function [x,P]=ekf(fstate,x,P,hmeas,z,Q,R) EKF Extended Kalman Filter for nonlinear dynamic systems [x, P] = ekf(f,x,P,h,z,Q,R) returns state estimate, x and state covariance, P -EKF for Kalman filter function [x,P]=ek
sanciyangtiao
- 其基本思想是取B样条函数 为及基函数,在[a,b]中均匀划分区间,xi=a+ih,h=(b-a)/n,由于三次样条函数空间是n+3维的,所以把分点扩充到x-1,xn+1,则任意三次样条函数可用 线性组合来表示:-The basic idea is to take B-spline function and basis functions in [a, b] in the evenly divided intervals, xi = a+ ih, h = (ba)/n, because the c
exponential
- mathametical function exp without using math.h
huangjin
- #include<stdio.h> #include<math.h> float Function(float x) void main() { float a,b,e float x0,x1,x2,F0,F1,F2 printf("input a ,b ,e \n") scanf(" f f f",&a,&b,&e) x1=b-0.618*(b-a) x2=a+0.618*(b-a) F1=Func
hamming-(1962)
- 计算hamming(1962)级数:sn=1/n(n+x).0.0-300.0 步长,精确度可调。-Produce a table of the values of the series (1) for the 3001 values of x, x = 0.0, 0.1, 0.2, …, 300.00. All entries of the table must have an absolute error less than 10
swmm5_iface
- SWMM5接口代码文件,包含了SWMM5的V接口文件、Visual Basic接口文件和Delphi Pascal接口文件等。-This archive contains the SWMM 5 Interfacing Guide and supporting files. Contents -------- Interfacing.chm The Interfacing Guide in the form of a Windows HTML Help file (doub
HHBG
- 初等相似变换将一般实矩阵约化为上H矩阵,包括主函数、双重步QR方法求一般实矩阵全部特征值的函数和约化为上H矩阵的函数。-Elementary similarity transformation will generally be reduced to the real matrix H matrix, including the main function, the double-step method for solving general real matrix QR all eigenva
lagrange
- 对[-5,5]作等距划分 Xi = -5 +ih,h =10/n , i = 0, 1, …, n,并对Runge 给出的函数 y =1/(1+x*x) 。 作Lagrange插值,取n=10,20计算插值多项式Pn(x) 在x=4.8处的误差,并作分析。 -Of [5,5] be equidistant Xi =-5+ih, h = 10/n, i = 0, 1, ..., a function of n, and Runge given y = 1/(1+x* x). As Lagr
HASH
- HASH函数实现//输入输出采用直接在对话框进行的方式 //雪崩测试的改变位数由伪随机数生成 #include<iostream> #include<string.h> #include<stdio.h> #include<conio.h> #include<time.h> using namespace std -hash function
H1_H2_getbochang_t
- 已知两个多项式H(Y),H(X)函数,求得Y(X)函数-Known two polynomials H (Y), H (X) function, to obtain Y (X) function