-
本程序是用纯C语言编的一个基于命令行的四则运算计算器。主要用于计算四则运算表达式的值,同时可以实现四种进制任意两种之间的转换。 主要功能:1.四则运算:能够解释...
本程序是用纯C语言编的一个基于命令行的四则运算计算器。主要用于计算四则运算表达式的值,同时可以实现四种进制任意两种之间的转换。 主要功能:1.四则运算:能够解释并执行四则运算表达式。四则运算就是包含+、―、*、/、.(小数点)和数字的运算表达式,例如:3+2.9*(5-6/3) -4+(+8*6)等; 2.错误警告:能够对不符合语法的表达式给出相应的错误警告,本程序共给出了8大类警告 3.进制转换:能够做二进制、八进制、十进制、十六进制中任意两种进制之间的互相转换 4.帮助系统:提供完善的帮助系统 5.出错保护:有良好的出错保护系统,命令行输入错误,程序仍能正常运行。-this program is pure C-language series based on a command line of four Operational calculator. Mainly used in the calculation of four computing the value of the expression, and can achieve four band arbitrary conversion between the two. The main functions : 1. Four computing : the ability to interpret and apply the four Operational expression. Four operations is included ,-,*,/,.( decimal point) and digital arithmetic expressions, for example : 2.9* 3 (5-6/3)-4 (8* 6); 2. Wrong warning : to be able to not grammar of expressions is the corresponding error warnings, the procedure is a total of eight major categories of warning 3. Decimal Conversions : can do binary, octal, decimal, hexadecimal arbitrary b
- 2022-02-13 01:07:58下载
- 积分:1
-
用于多个离散点拟合光滑曲线的,优化了追赶法,这个例子适用于闭合和不闭合两种情况。当时由于工程情况,写的急,代码不好看,但是很好用。为了方便传递参数,我做了一个链...
用于多个离散点拟合光滑曲线的,优化了追赶法,这个例子适用于闭合和不闭合两种情况。当时由于工程情况,写的急,代码不好看,但是很好用。为了方便传递参数,我做了一个链表,用时候根据自己情况可以修改,核心算法不动即可。-point for a number of discrete smooth curve fitting, and optimized to catch up with the law applicable to this case is not closed and the closure of two. At that time, because the situation, was the most aggressive, the code does not look good, but good use. To facilitate the transmission parameters, I have done a linked list, when used according to its own circumstances can change, the core algorithm can be fixed.
- 2022-03-17 18:50:28下载
- 积分:1
-
FODM下16QAM代码
提供ofdm场景下QAM的基本算法代码,有很好参考价值,希望大家喜欢。
代码目录:OFDM_16QAM.m QAM16_demod.m QAM16_mod.n
http://download.csdn.net/download/maikurakiyh/4001873
- 2022-03-18 20:48:58下载
- 积分:1
-
kmeans 算法源程序
资源描述kmenas算法首先选择K个初始质心,其中K是用户指定的参数,即所期望的簇的个数。这样做的前提是我们已经知道数据集中包含多少个簇,但很多情况下,我们并不知道数据的分布情况,实际上聚类就是我们发现数据分布的一种手段
- 2022-07-23 16:36:16下载
- 积分:1
-
模拟退火算法的MATLAB工具箱,matlab toolb最新版本…
matlab模拟退火算法工具箱,最新版本的matlab工具箱-simulated annealing algorithm matlab toolbox, the latest version of matlab toolbox
- 2023-04-05 18:35:04下载
- 积分:1
-
平面上的超声速流(有粘性边界层和激波)
应用背景程序求解完全的二维N-S方程,考虑了粘性和导热。当来流Mach数为4时,计算结果与书上的结果一致,然而,我的程序不能计算Mach数为25的情况(即书中提供的另一种工况的比较结果),经过仔细检查,我认为自己的程序没毛病,可能是书中求解步长的公式给错了(eq.(10.16) in p.457),还望大家帮助检查一下。最后还要说明的是,该章在指导你写程序时,书上有些关键地方有印刷错误,会误导你,一定要小心。参考文献:Chapter 10, Computational Fluid Dynamics, The Basics with Applications, John D. Anderson, JR. McGraw-Hill, 2002, 4
《Anderson计算流体力学入门》
关键技术 bc.f---------------------边界条件
conver.f-----------------迭代收敛判断
dynvis.f-----------------计算粘性项
mac.f--------------------MacCormack求解器
mdot.f-------------------质量守恒判断
output.f-----------------结果输出
qcx.f,qcy.f--------------计算导热项
tauxx.f,tauyy.f,tauxy.f--计
- 2022-11-13 08:55:03下载
- 积分:1
-
先序遍历非递归算法 #define maxsize 100 typedef struct { Bitree Elem[maxsize] int top }SqS...
先序遍历非递归算法 #define maxsize 100 typedef struct { Bitree Elem[maxsize] int top }SqStack void PreOrderUnrec(Bitree t) { SqStack s StackInit(s) p=t while (p!=null !StackEmpty(s-preorder non- recursive algorithm# define maxsize 100 typedef struct (Bitree Elem [maxsize]) int top SqStack void PreOrderUnrec (Bitree t) (SqStack s StackInit (s) p = t while (p! = Null! StackEmpty (s
- 2022-12-23 05:40:03下载
- 积分:1
-
Introduction queuing theory, mathematical modeling in 2009 good material.
介绍排队论,是2009年数学建模的好材料。-Introduction queuing theory, mathematical modeling in 2009 good material.
- 2022-03-28 10:55:36下载
- 积分:1
-
数值分析中的连分式求积问题,含输入输出界面。
数值分析中的连分式求积问题,含输入输出界面。-Numerical analysis of continued fractions quadrature problems, with input and output interface.
- 2022-02-13 11:58:39下载
- 积分:1
-
D-S证据理论
本算法 从最简单的程序,渐渐深入,能够让读者以最快的速度,学会D-S算法在matlab中的实现过程。算法中标有详细的注释,最大程度上帮助读者完全掌握。
- 2022-02-03 17:15:47下载
- 积分:1