-
CLOCK
以实例为背景学习基于MFC的WINDOWS应用程序设计,编写一个模拟时钟程序,此程序在屏幕左边有一个指针式钟面,右方有两个矩形框,上面以数字方式显示日期和时间,该时间应与指针显示的时间一致,下方的矩形框作为秒表。用菜单选项或按钮设置时间和秒表。时间不必与机器系统时间相同,可任意设置。(Background-instance learning WINDOWS MFC-based application design, the preparation of an analog clock program, this program has a pointer on the screen on the left clock face, on the right there are two rectangular box, above digitally display the date and time, which should be consistent with the pointer display time, and the lower rectangular box as a stopwatch. With a menu option or button to set the time and stopwatch. Time Machine does not have the same system time can be set arbitrarily.)
- 2013-10-17 15:52:11下载
- 积分:1
-
FPE
说明: 按FPE定阶的
源程序:fpe.cpp
M序列:M序列.txt
白噪声:Gauss.txt
程序中先用依模型阶次递推算法估计模型的参数,再用fpe方法判断模型的阶次。
程序运行结果如下:
n: 1
判断阶次FPE的值: 0.0096406
-0.481665 1.07868
n: 2
判断阶次FPE的值: 0.00875755
-0.446739 0.00498181 1.07791 0.0527289
n: 3
判断阶次FPE的值: 0.0087098
-0.459433 0.120972 -0.0569228 1.07814 0.0390757 0.116982
n: 4
判断阶次FPE的值: 0.000396884
-0.509677 0.4501 -0.200906 0.0656188 1.07991 -0.0156362 0.442989 0.0497236
n: 5
判断阶次FPE的值: 3.2095e-007
-1.18415 0.813123 -0.517862 0.34881 -0.116864 1.07999 -0.744141 0.474462 -0.253112 0.122771
n: 6
判断阶次FPE的值: 3.23349e-007
-1.14659 0.76933 -0.487651 0.329676 -0.10377 -0.00440907 1.07999 -0.703574 0.447253 -0.235282 0.113587 0.00479688
从以上结果可以看出,当n=5时,fpe值最小,所以这时的模型阶次和参数估计值为最优结果:
3.2095e-007
-1.18415 0.813123 -0.517862 0.34881 -0.116864 1.07999 -0.744141 0.474462 -0.253112 0.122771(err)
- 2008-09-12 01:14:14下载
- 积分:1
-
Test
vc++ 调用 matlab
vc++ 调用 matlab
vc++ 调用 matlab
vc++ 调用 matlab(vc++ matlab)
- 2011-06-28 12:54:47下载
- 积分:1
-
Devillanguage1
Devil language
数据结构中的经典问题
此为问题!(Devil language data structure of the classic problems of this problem!)
- 2006-10-17 23:42:17下载
- 积分:1
-
Infrared-mouse
用普通遥控器做的电脑鼠标,遥控器发送数据,51单片机解码,通过串口发送到上位机上,在上位机上运行程序,实现鼠标控制(Do with an ordinary remote control computer mouse, the remote control to send data, 51 single-chip decoder, sent through the serial port to the PC, run the program on the host computer, mouse control)
- 2012-06-01 08:55:26下载
- 积分:1
-
vbzhenxinhua
VB_真心话大冒险游戏源码,一个VB编写的小游戏,脑筋急转弯游戏源码(Game the VB_ truth or dare game source code, written in VB, Riddles game source)
- 2013-04-04 15:24:52下载
- 积分:1
-
MATLAB
接收端采用的算法和程序流程与发送端发送的OFDM符号的帧结构有关系。具体的帧结构,以及定时估计,频偏估计,剩余误差跟踪的算法可参考算法说明文档。这里对程序的流程进行说明。
首先根据短训练字的特性进行相关运算,进行信号到达检测,当检测到相关值大于门限一定次数后,认为有信号到达。然后根据长训练字的特性,进行相关运算,进行OFDM符号FFT窗口起始位置的估计。估计出FFT窗口的位置后,先在时域进行小频偏的估计,将两个长训练字进行小频偏补偿后,进行FFT运算,根据FFT运算的结果进行整数倍频偏的估计。这些参数估计完成后,就可以进行数据解调了。先对数据部分进行完整的频偏补偿,然后根据估计的FFT窗口位置进行FFT运算得到频域的数据,进行解调。然后在对应于导频的子载波位置上提取出导频信息,根据导频信息估计出剩余定时误差以及剩余的信道响应误差,将误差量送入环路进行跟踪。当收到所有数据后,重新回到信号到达检测状态,进行下一次信号到达的检测和信号接收。
(good)
- 2020-11-04 23:49:52下载
- 积分:1
-
DirDog
监控文件夹变化的库,该功能封装在一个dll库中,方便调用。(monitor the change of the directory)
- 2012-02-21 08:53:09下载
- 积分:1
-
OpenGl--snow
在vc6.0环境下,基于Opengl编译的雪粒子系统(In vc6.0 environment, based on Opengl subsystem compiled Snow Grains)
- 2011-05-12 13:02:26下载
- 积分:1
-
testZeroMQ
内含简单项目代码及ZeroMQ使用教程,资源适合初学者,可以满足快速入门要求
下载ZeroMQ
下载网址:http://zeromq.org/intro:get-the-software
点击“Windows sources”下载zeromq-4.0.3.zip文件
编译ZeroMQ库文件
解压zeromq-4.0.3.zip文件,进入buildsmsvc目录,用VS打开*.sln工程文件,编译生成解决方案。编译完成后,会在lib目录下生成dll和lib文件
编写简单的测试工程
1.用VS新建2个项目,一个是server端,一个是client端
2.将ZeroMQ源码项目的include目录下的两个文件“zmq.h”,“zmq_utils.h”拷贝至自己新建的工程
3.将ZeroMQ源码项目的lib目录下的两个文件“libzmq.dll”,“libzmq.lib”拷贝至自己新建的工程
4.将文件“zmq.h”,“zmq_utils.h”和“libzmq.lib”添加进自己新建的项目。(ZeroMQ simple project containing the code and tutorials, resources for beginners, to meet the requirements of the Quick Start Download ZeroMQ Download URL: http://zeromq.org/intro:get-the-software Click " Windows sources" download zeromq-4.0. 3.zip ZeroMQ library files compiled zeromq-4.0.3.zip unzip the file, enter builds msvc directory, with VS open*. sln project file, the compiler generates solutions. After the compilation is complete, it will generate dll and lib files in the lib directory to write a simple test project. Using VS New two projects, one is server-side, is a client-side two would both include directories ZeroMQ source project under File " zmq.h" , " zmq_utils.h" copy to their new project 3 would be two files ZeroMQ source project lib directory under " libzmq.dll" , " libzmq.lib" copy to their new project 4 would file " zmq.h" , " zmq_utils.h" and " libzmq.lib" added to their new projects.)
- 2014-02-19 08:43:26下载
- 积分:1