搜索资源列表
计算分数的精确值
- 使用数组精确计算M/N(0<M<N<=100)的值。如果M/N是无限循环小数,则计算并输出它的第一循环节,同时要求输出 循环节的起止位置(小数位的序号) *问题分析与算法设计 由于计算机字长的限制,常规的浮点运算都有精度限制,为了得到高精度的计算结果,就必须自行设计实现方法。 为了实现高精度的计算,可将商存放在一维数组中,数组的每个元素存放一位十进制数,即商的第一位存放在第一个元素中,商的第二位存放在第二个元素中....,依次类推。这样就可以使用数组不表示一个高
RD_OFDM
- OFDM_Final_Report.pdf后面附有matlab程序,我猜想可能是老版本matlab,本人进行稍加改造,在matlab环境下打开ofdm.m,执行run即可。原文有两个程序,本人只改造了第一个,第二个仿照改造即可。-OFDM_Final_Report.pdf behind with Matlab procedures, I guess that may be old version Matlab, I conducted a little alteration, In Matlab
AssembleGear
- 组装齿轮问题 譬如,在这个玩具中包含了 6 齿、12 齿和 30 齿的齿轮,而你的弟弟希望搞一个转速比为 5:4 的传动装置。下图就显示了一种可能的方案: 这个传动方案使用了四个齿轮,第一跟轴上是 30 齿和 12 齿的,第二跟轴上是 6 齿和 12 齿的。转速比可以通过如下公式获得: (30 / 12) * (6 / 12) = (5 / 2) * (1 / 2) = 5 / 4 = 5:4 然而,使用以上三种齿轮,就没法组装出转速比为 1:6 的传动装置。
指数平滑法预测数据
- 指数平滑法预测数据 输入: k--平滑周期 * n--原始数据个数 * m--预测步数 * alfa--加权系数 * x--指向原始数据数组指针 * 输出: s1--返回值为指向一次平滑结果数组指针 * s2--返回值为指向二次指数平滑结果数组指针 * s3--返回值为指向三次指数平滑结果数组指针 * xx--返回值为指向预测结果数组指针-exponential smoothing forecast data entry : k -- smoothing cycle * n -- raw dat
yy
- 给出一个非负小数,找出分子不超过M,分母不超过N的最简分数或整数, 使其最接近给出的小数。如果这个分数不唯一,输出‘TOO MANY’。 输入文件格式(closest.in) 第一行,M,N(1<=M,N<=10^9) 第二行,即小数R,(0<R 输出文件格式(closest.out) 仅一行,若解唯一输出 分子 / 分母(整数K写成K/1),否则输出TOO MANY 样例输入: 360 120 3.1415926536
ch01_2ed
- CHAPTER 1- real-Time Digital Signal Processing: Implementations and Applications, Second Edition by Sen M. Kuo, Bob H. Lee & Wenshun Tian, ISBN 0470014954
ch02_2ed
- CHP 2 - Real-Time Digital Signal Processing: Implementations and Applications, Second Edition by Sen M. Kuo, Bob H. Lee & Wenshun Tian, ISBN 0470014954-CHP 2- Real-Time Digital Signal Processing: Implementations and Applications, Second Edition by Se
ch03_2ed
- CHP 3 - Real-Time Digital Signal Processing: Implementations and Applications, Second Edition by Sen M. Kuo, Bob H. Lee & Wenshun Tian, ISBN 0470014954 - Real-Time Digital Signal Processing: Implementations and Applications, Second Edition by Sen M.
ch04_2ed
- CHP 4 - Real-Time Digital Signal Processing: Implementations and Applications, Second Edition by Sen M. Kuo, Bob H. Lee & Wenshun Tian, ISBN 0470014954 - Real-Time Digital Signal Processing: Implementations and Applications, Second Edition by Sen M.
ch05_2ed
- CHP 5 - Real-Time Digital Signal Processing: Implementations and Applications, Second Edition by Sen M. Kuo, Bob H. Lee & Wenshun Tian, ISBN 0470014954 - Real-Time Digital Signal Processing: Implementations and Applications, Second Edition by Sen M.
xiandaitongxinxitongmatlab
- 现代通信系统第二版MATLAB全部源代码 做通信仿真要用到的-The second edition of a modern communications system MATLAB source code
moulation_classification
- 主要是实现调制识别,区分几种常用的数字调制信号,包括ASK,FSK,PSK,QAM。含有两个文件夹 其一为特征参数的仿真;其二为正确识别率的仿真。 文件夹key feature simulink中: 运行程序会得到各特征参数之间区分图 从图中可看到特征参数的有效性。 文件夹classification rate simulink中: 运行main.m文件 可以得到正确识别率 -Mainly to achieve modulation recog
andreyvit-ScrollingMadness1
- Catalog of UIScrollView samples (iPhone) This project used to demonstrate some hacks needed to implement Photos.app-style paging+scrolling+zooming on iPhone. However I m pleased to say that on iPhone OS 3.x no hacks are necessary any more!
Turn-the-decimal-m-hexadecimal
- 十进制转m进制,m<=16,输入分两个数,第一个是十进制数,第二个是选择转换的进制,输出为m进制的结果-Turn the decimal m hexadecimal, m < = 16 Input points two Numbers, the first is a decimal number, the second is to choose the hexadecimal conversion, output results for m into the system
StirlingS2.m
- 计算第二类string数,可应用于仓库规则的拣选概率计算-compute the second string data
untitled-folder-2
- 输入包含两个整数,第一个是n,第二个是m (0 < m,n <=300)-Input contains two integers, the first one is n, the second is m (0 < m, n < = 300)
Josephus-problem
- 描述 约瑟夫问题:有n只猴子,按顺时针方向围成一圈选大王(编号从1到n),从第1号开始报数,一直数到m,数到m的猴子退出圈外,剩下的猴子再接着从1开始报数。就这样,直到圈内只剩下一只猴子时,这个猴子就是猴王,编程求输入n,m后,输出最后猴王的编号。 输入 每行是用空格分开的两个整数,第一个是 n, 第二个是 m ( 0 < m,n <=300)。最后一行是: 0 0 输出 对于每行输入数据(最后一行除外),输出数据也是一行,即最后猴王的编号-
pcmgui
- 于matlab gui 平台的pcm语音信号处理,其中包括抽样、量化、编码、解码,及其时域频域图建Matlab GUI界面通常有两种方式: 1,使用 .m 文件直接动态添加控件 2. 使用 GUIDE 快速的生成GUI界面 显然第二种可视化编辑方法算更适合写大型程序- Matlab gui based pcm voice signal processing platform, including sampling, quantization,
BEST
- 功能:利用PCF8563T芯片和ZLG7290B芯片来显示时间,能够利用键盘实现时间参数的修改, 修改过程中可以“回显”、“闪烁”、 “容错”,并利用蜂鸣器实现时钟系统的“整点报时” 一、硬件连接 1、ZLG7290B芯片的SDA和SCK分别连接P1.0和P1.1模拟IIC协议,RST_L复位端与P1.7口连接,以 便复位操作 2、P1.6连接蜂鸣器用于整点报时(大约响2s) 3、设定始终芯片CLKOUT输出秒脉冲且与P3.2连接(用于显示,每秒钟刷新一次),INT_KE