搜索资源列表
带通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
MAIN 3-DIMENSIONAL CFD-PROGRAM
- #//u(i,j) x方向的速度u;或者θ方向速度uθ #//u(i,j) y方向的速度v;或者径向速度ur'h\K #//pc(i,j) 压力修正 p'[OS #//p(i,j) 压力p-=5-+ #//p(i,j)
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
c_for_FEM_postpro
- 利用c++进行有限元分析的可视化实现 xyz.txt是ansys有限元分析后输出的所有节点坐标 danyuan.txt为有限元分析的所有单元包含的节点编号 jiedianjie.txt为有限元分析后,每个节点的应力值-a.dsp This file (the project file) contains information at the project level and is used to build a single project or subpr
tony
- 溫度華氏轉變攝氏 #include <stdio.h> #include <stdlib.h> enum x {A,B,C,D,E} int main(void) { int a=73,b=85,c=66 { if (a>=90) printf("a=A等級!!\n") else if (a>=80) printf("73分=B等級!!\n") else if (a>=70)
tony
- 溫度華氏轉變攝氏 #include <stdio.h> #include <stdlib.h> enum x {A,B,C,D,E} int main(void) { int a=73,b=85,c=66 { if (a>=90) printf("a=A等級!!\n") else if (a>=80) printf("73分=B等級!!\n") else if (a>=70)
tony
- 指定一個數字轉換回十進位,八進位,十六進位#include <stdio.h> #include <stdlib.h> int main(void) { int number =89 printf("數字 %d\n",number) /* %d 為十進位輸出格式*/ printf("八進位為 %o\n",number) /* %o 為八進位輸出格式*/ printf("十六進位為%x\n",number) /* %x 為
mesh
- 叶轮机械多级叶轮网格生成程序介绍 侯 乐 毅 非定常流课题组 本文开发的叶轮机械多级叶轮网格生成程序,采用的网格类型为H型,并在叶片前面/后面延伸区域设置平直网格数ID1和IDN。主程序MESH_BLADE_STAGES,分成三个部分,原始叶型及控制参数从输入程序INPUT输入,求解程序为GRID(ZERO),输出程序为OUTPUT。-Multi-stage turbomachinery impeller mesh generation procedures introduce Hou
pr1
- #include<stdio.h> void main(void) {int n,k,derivata,a[10],i printf("n=") scanf(" d",&n) for(i=0 i<=n i++) { printf("a[ d]=",i) scanf(" d",&a[i]) } printf("k=") scanf(" d",&k) for(derivata=1 derivata<=k derivata++
cpp_tracer
- Lifitime tracer. *** *** *** *** *** *** *** *** ***** Example: #include <timings.h> void foo() { TRACE_LIFETIME usleep(100000) } void main() { foo() } *** *** *** *** *** *** *** *** *** See lifetimes.log: FUNC
FEMc
- C++编写的有限元计算程序。 版权所有: Comments/Questions can be directed to: Charbel Farhat : charbel@alexandra.colorado.edu Michel Lesoinne: michel@vette.colorado.edu Kendall Pierson : piersonk@vette.colorado.edu -----------------------------------------
arm_kalman
- kalman算法,这是四轴飞行器的主要算法之一,这是kalman.h文件-kalman algorithm, which is one of the main algorithms axis aircraft, which is kalman.h file
3-LOCPOT
- 可以处理三维矩阵数据,三维数组的线性化处理,-#include<stdio.h> #define N 56 #define M 56 #define L 336 #define Leng 23.693 double V[N][M][L] void main() { int i, j, k double Z[L], ZL[L], S, A FILE*fp1,*fp2 if ((fp1 = fopen("LO
H
- 主要是计算最佳哈密尔顿圈,利用二边逐次修*实现,需要先给出带权的邻接矩阵。 注:利用矩阵翻转法求最佳H圈.pdf是h.m文件的说明文件。-Main is calculated by use of the second best Hamilton circle, edge successive correction method of realization, need to first presents the adjacency matrix with weight. Note: u
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
001
- 计算矩形的面积和周长、面向对象程序设计 #include<iostream> #include"002.h" using namespace std int main() { double x1,y1,x2,y2 cout<<"请分别输入左下右上点的坐标,用空格分开"<<endl cin>>x1>>y1>>x2>>y2 juxing j1(x1,y1,x2,y2
GMM.zip
- 高斯拟合模型的C++实现,包含main和GMM.h实现,c++ implementation of Gaussian Mixture Model
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
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
