搜索资源列表
Generate-random-variates
- 文件夹中含有三个c文件,各自产生10万个分别服从正态分布,瑞利分布以及泊松分布的随机数,并利用这些随机数在VC中绘制出这些分布的概率密度函数曲线。注意:运行这些程序之前,需先安装文件夹中的setup文件,以便于在VC中制图。-C folder contains three files, each produce 100,000 were subject to normal distribution, Rayleigh distribution and the Poisson distributi
TG320240
- AVR单片机驱动1335控制器点亮320240,可以任意画点、直线、图形,各函数都有中文注释,本人调试通过,已经应用在产品上了。-The AVR light controller driver 1335 320 240, can any draw points, lines, shapes, each function has a Chinese note, I debug through, has been applied on the product.
31102
- 自己用书上的程序改的,用橡皮筋技术画矩形的小程序,写了注释,仅供新手参考。-Own book on with the reform program, draw a rectangle with a small rubber band technology program, wrote a note, for novice reference.
cards-game
- 扑克牌加减乘除游戏,是一种集技巧性和运气性于一体的扑克牌游戏。 现实中可以单人玩,也可以不定人数对抗,用若干副扑克牌去掉王即可游戏,推荐用一副牌双人对抗,乐趣无穷。 本程序利用Card类数组模拟扑克牌,定义3个数组分别表示玩家手中的牌,电脑手中的牌和底牌,用srand((unsigned)time(NULL))产生随机数字,将底牌数组中随机的一项从底牌中移动到其他的数组中,模拟从洗好底牌中抓牌。表示出牌。 单人练习模式中,首先记下一个 1到13之间的随机数字,然后玩家抓牌,当手中的牌
luckydraw
- 完全的抽奖的源码。主文件LuckDraw.java。运行之前相关配置请看readmefirst文件夹中的txt文档。自己运行请注意修改包名。-Source of the complete draw. The main file LuckDraw.java. Before running the configuration Look at the readmefirst file folder txt file. Own run Please note that modifying the pac
Drawlines
- VB.NET画图,绘出各种各样的线,比如有弧度的线,圆形、椭圆形、直线等,点击窗体下边的按钮即可生成对应的曲线,注意,本源码是基于VB.NET,不能在VB6.0环境下打开-VB.NET drawing, draw the various lines, such as the curvature of the line, a circular, elliptical, linear, button click the form below to generate the corresponding
DrawFont
- C#绘制文字,绘制出漂亮的文字,请注意,本源码由网上下载,不知道重新编译后会不会报毒,请小心测试,从代码看,本源码是安全的。-C# draw text, draw a beautiful text, Please note that the source code downloaded from the Internet, do not know recompile not reported to poison, be careful testing, from the code, the s
duoduantu
- 多段图问题的动态规划算法与实现 功能:求源点到汇点的最短路径及决策过程。 要求:用向前处理和向后处理方法分别对给出的数据,进行求解(注意在文档中画出多段图)。给出复杂性分析。 输入:多段图的段数,顶点数,以及每条边的权重。 输出:多段图的最短路径和决策过程。 -Many of the map of the dynamic programming algorithm and implementation features: seeking the source point to
drawline
- VB绘制正弦线,用VB实现在图片框中绘制坐标轴,并在坐标系内动态生成正弦线。注释:首先清除picture1内的图形-VB draw a sinusoidal line, using VB axes in the coordinate system to dynamically generate sinusoidal line drawn in the picture box. Note: First, clear graphics picture1
CustDrawListBox
- 自绘ListBox, Item项自绘(改变Item宽高), 样式. 注: 在使用前请设置控件属性Owner为Variable状态. (本代码在Window7、VS2010下测试通过)-Owner Draw ListBox, change Item width、height、style. note: please set owner:variable.
31102
- 自己用书上的程序改的,用橡皮筋技术画矩形的小程序,写了注释,仅供新手参考。-Own book on with the reform program, draw a rectangle with a small rubber band technology program, wrote a note, for novice reference.
littleGame21
- 21点游戏 ★游戏规则: 游戏开始后系统将随机产生1到10之间的数并累加. 1.在点数不大于21时,点数大者赢,点数相等算平局 2.若一方点数大于21,一方点数小于21,小于21的一方赢 3.若两方均大于21,则算平局 4.获胜者获得相应赌注金币,金币到零则结束游戏 . (注:继续加点选1,不继续加点选任意非1数)-21:00 game ★ Game rules: the game starts, the system will randomly generat
DSP
- 任务: 1) 借助MATLAB画出误差性能曲面和误差性能曲面的等值曲线(参考PPT2.1第17页的两幅图); 2) 写出最陡下降法以及LMS算法的计算公式(取 ); 3) 用MATLAB产生方差为0.05, 均值为0白噪音S(n),并画出某次采样得到的波形(即产生任意一个噪声随机序列); 4) 根据 2)中的公式,并利用 3)中产生的S(n),在 1)中的误差性能曲面的等值曲线上叠加画出采用最陡下降法以及LMS法时H(n)的在叠代过程中的轨迹曲线(参考PPT2.1第17页的右下图
physicaloptics-
- 一束5W 的线偏振光以Φ = 45 度方位角振动,垂直入射到玻璃 - 空气表面,该光束波长0.6μm,玻璃介质折射率1.54 @0.6m,当入射角θ从0-70 度变化时,通过给定条件,分别完成如下要求: 画出该光束反射光的光强曲线(I-θ); 分析该反射光束的偏振态变化,画出偏振方向变化曲线(φ-θ)和偏振光束相位变化曲线 (Φ-θ)。 (注:光束从光密到光疏的界面,在入射角θ 从0-70 度变化中,包括了临界角θc)-Bunch of linearly po
LabelView
- Example of how to write a custom subclass of View. LabelView is used to draw simple text views. Note that it does not handle styled text or right-to-left writing systems.
flashform
- VB实现窗体的闪烁效果,点击按钮即可实现窗口标题栏闪烁,相对应的,在任务栏上的窗口标题也处于闪烁状态,类似于QQ聊天窗口来消息时的闪烁效果一样,以引起人的注意-VB to achieve flicker effect of the form, click the button to achieve the window title bar flashes, the corresponding window title in the taskbar also is flashing, flicke
SolidWorksFlowSimulation
- This note explains how to draw an aerofoil in t hree dimensions in SolidWorks and then how to run a simple calculation of the flow over the geometry. SolidWorks is the 3D CAD pa ckage used by the School and this note assumes you ar
vcyibiaopan
- VC自绘仪表盘源码实现VC中绘制仪表盘效果的方法,运行仪表盘的指针可以转动。注意:该源码编译版本为VS2003.-Methods VC source to achieve self-painted dashboard dashboard VC draw effect, run the dashboard pointer can rotate. Note: The source code compiled version of VS2003.
Generic-Method
- 1。使用一个HashMap来创建可重用的类选择13个预定义的颜色类的颜色。颜色的名称应该用作键,和预定义的颜色对象应该被用作值。把这个类放在一个可以被导入到任何程序的包中。在应用程序中使用您的新类,允许用户选择一个颜色,然后在该颜色中绘制一个形状。 2、(计数重复的话)编写一个程序,该程序确定和打印语句中的重复单词的数量。把大写字母和小写字母一样。忽略标点符号。 3。(一个TreeSet排序的话)写一个程序,使用一个字符串的方法分割标记线的用户输入的文本和地方在这每个令牌。打印的有序元素
fxft_ftsystem
- NOTE: GState is save restored by the HIView system doing the callback, so the draw handler doesn t need to do it. -NOTE: GState is save restored by the HIView system doing the callback, so the draw handler doesn t need to do it.