求解约瑟夫问题。设有n个人围成一个圆圈坐下,对所有围从的人从某个位置开始编号为1,2,3,……,n,从编号为1的人开始报数1,报数依交进行,报数n的人即出列,下一个人从1开始报数,再报数m的人便是第二个出列的人如此重复下去,直到最后一个人出列为止,于是便得到一个出列的顺序,这称之为约瑟夫(Josephu)问题。
标签:
上传时间: 2013-12-26
上传用户:fxf126@126.com
利用MSP430 单片机的一般 I/O口进行的数字量的采集 利用A/D采集通道实现模拟量到数字量的转化
上传时间: 2013-12-21
上传用户:古谷仁美
The code assumes a two-dimensional computational domain with TMz polarization (i.e., non-zero field Ez, Hx, and Hy). The program is currently written so that the incident field always strikes the lower-left corner of the total-field region first. (If you want a different corner, that should be a fairly simple tweak to the code, but for now you ll have to make that tweak yourself.) I have attempted to provide copious comments in the code and hope that a knowledgeable C programmer can quickly map the approach as described in the paper to what is in the program.
标签: two-dimensional computational polarization non-zero
上传时间: 2013-12-13
上传用户:cylnpy
Many many developers all over the net respect NASM for what i s - a widespread (thus netwide), portable (thus netwide!), very flexible and mature assembler tool with support for many output formats (thus netwide!!). Now we have good news for you: NASM is licensed under LGPL. This means its development is open to even wider society of programmers wishing to improve their lovely assembler. The NASM project is now situated at SourceForge.net, the most famous Open Source development center on The Net. Visit our development page at http://nasm.2y.net/ and our SF project at http://sf.net/projects/nasm/
标签: developers widespread netwide respect
上传时间: 2014-01-20
上传用户:2404
FlashFlex51 Microcontroller Control of CompactFlash Card in I/O Mode
标签: Microcontroller CompactFlash FlashFlex Control
上传时间: 2014-01-24
上传用户:凤临西北
二乘法曲线拟合 //X,Y -- X,Y两轴的坐标 //M -- 结果变量组数 //N -- 采样数目 //A -- 结果参数
上传时间: 2015-04-06
上传用户:wl9454
提出了一种基于样本的分级检索 MPEG 视频的新方法:首先用I 帧的dct_dc_size 字段快速粗检,然后用断层摄影(tomography)法分析B 帧运动矢 量的时空分布特性以进一步缩小结果集,最后用DC 图像的精确匹配方法验证检索结果.试验结果表明,本方法 所需计算量较小,且可保证较高的检索精度.
标签: dct_dc_size tomography MPEG 帧
上传时间: 2013-12-30
上传用户:独孤求源
N个源码,都是C文件或C++源文件。 此文件高压缩。解压时间可能长一些。 申请加下载限额。 主页:http://www.programsalon.com/developer.asp?id=victor000000 邮箱:victor000000@tom.com
标签: 源码
上传时间: 2013-12-21
上传用户:stewart·
现有一个信号:x(n)=1+cos(π*n/4)+ cos(2*π*n/3)设计及各种数字滤波器以达下列目的: 低通滤波器,滤除cos(2*π*n/3) 的成分,即想保留的成分为1+cos(π*n/4) 高通滤波器,滤除1+cos(π*n/4) 的成分,即想保留的成分为cos(2*π*n/3) 带通滤波器,滤除1+cos(2*π*n/3) 的成分,即想保留的成分为cos(π*n/4) 带阻滤波器,滤除cos(π*n/4) 的成分,即想保留的成分为1+cos(2*π*n/3) 1. 用MATLAB命令butterord求除滤波器的阶数,用命令butter设计各滤波器;画出滤波器幅度和相频相应 取各滤波器的系统函数H(z)。
上传时间: 2013-12-28
上传用户:daoxiang126
已知一个LTI系统的差分方程为: y[n]-1.143*y[n-1]+0.4128*y[n-2]=0.0675*x[n]+0.1349*x[n-1]+0.0675*x[n-2] 初始条件y(-1)=1,y(-2)=2,输入x(n)=u(n),计算系统的零输入响应
标签: 0.0675 0.4128 0.1349 1.143
上传时间: 2013-11-27
上传用户:zhengzg