Hey. This some pid code for the atmega88 that I once used to control a heater. It s purpose is pretty specific, and I only wrote it to work on the mega88, so the code itself won t be too useful. It is a good place to start if you re trying to use or Figure out pid though.
标签: control purpose atmega heater
上传时间: 2013-12-19
上传用户:天诚24
This program compress and recostruct using wavelets. We can select level of decomposition(here maximum 4 levels are given) of images using selected wavelet. For eg:-wavelets can be haar, db1, db2,dmey............... Decomposition can be viewed in Figure. (Please note that select 256X256 image for better result.) Then compression can performed, PERFL2 give compression score. Then reconstruction can be performed. Each decompsition we can choose different threshold values. For each threshold value we can calculate mse,psnr,pq(picture quality), bit ratio etc. To get pq install pqs function .
标签: decomposition recostruct compress wavelets
上传时间: 2016-01-22
上传用户:liuchee
Matlab小问题 问: Matlab仿真中怎样编辑Scope中的图象??? 答: 实现的方法有以下的几种: 1)PrintScreen,然后粘贴到Windows位图编辑器,选择图像点击右键,选择“反色”即可; 2)在Scope中,它的参数设置的第二页,有一个Save Data to Workplace,将它选中,然后在下面的方框 中指定变量名,然后用plot命令画出; 3)直接在模型上再加一个,to Workplace模块,也用plot画出; 4) 等scope显示出来图像以后,在matlab上运行 set(0, ShowHiddenHandles , On ) set(gcf, menubar , Figure ) 这时候你会发现scope的工具栏的上面多了一行,点击insert-axes,鼠标会变成十字形状,然后再图像的任意一处双击左键出现一个对话框PropertyEditor,选中style在窗口的右便会出现color,这时你就可以任意修改背景颜色了。 问: 怎样进行S-function的编程和使用??? 答: S-function也就是System-function的缩写。说得简单,S-function就是用MATLAB所提供的模型不能完全满足用户,而提供给用户自己编写程序来满足自己要求模型的接口。要了
标签: Matlab PrintScreen Scope 仿真
上传时间: 2013-12-15
上传用户:13681659100
matlab经典算法的程序-特殊绘图,Figure operation
上传时间: 2014-01-11
上传用户:yulg
map identification laquo yuan Problem description : the digital image processing of an image often expressed as a macute M pixel matrix. Each pixel value is 0 or 1. The value of 0 pixel image, said background, and the value of a pixel image, said a map of a million, usually called map million pixels. When a pixel in another pixels above, below, left or right, said that two adjacent pixels of the pixel. An image of the pixels belonging to the same map yuan, instead of adjacent pixels belonging to different map yuan. Figure yuan identification of problems is right for the given image pixel map marking yuan, making the same map billion yuan pixel map of the same markings and different map billion yuan pixel map of their marks are different. Trial queue abstract data type design solut
标签: image identification description processing
上传时间: 2013-12-15
上传用户:15736969615
北京大学ACM题 Here is a geometric problem. You have an angle and some squares in the first quadrant of the plane rectangular coordinates. The vertex of the angle is fixed on the origin O of the coordinates, and both of its radial lines are specified by the input. The sizes of the squares are also specified by the input, and the squares can shift vertically and horizontally. Now your job is to use the squares and the radial lines of the angle to enclose the maximum area, which excludes the area of the squares (see Figure 1). You should note that the edges of the squares must be parallel to the axes.
标签: geometric quadrant problem squares
上传时间: 2013-12-25
上传用户:ynzfm
Matlab is an ideal tool for simulating digital communications systems, thanks to its easy scripting language and excellent data visualization capabilities. One of the most frequent simulation tasks in the field of digital communications is bit-error- rate testing of modems. The bit-error-rate performance of a receiver is a Figure of merit that allows different designs to be compared in a fair manner. Performing bit-error-rate testing withMatlab is very simple, but does require some prerequisite knowledge
标签: communications simulating scripting digital
上传时间: 2014-01-02
上传用户:plsee
300 km 传输线和功率补偿仿真 The circuit below represents an equivalent power system feeding a 300 km transmission line. The line is compensated by a shunt inductor at its receiving end. A circuit breaker allows energizing and de-energizing of the line. To simplify matters, only one of the three phases is represented. The parameters shown in the Figure are typical of a 735 kV power system.
标签: equivalent represents 300 transmis
上传时间: 2016-07-14
上传用户:15736969615
1. “信号与系统分析及MATLAB实现”一书第四章的程序; 2. 为了方便读者阅读程序,所有程序均采用中文注释。MATLAB的程序编辑器不支持中文显示,用户只需在Word下直接打开源程序文件,即可阅读程序中的中文注释; 3. 程序文件的命名分为以下三种类型: (1) 若为书中例题的程序,则程序文件名一律以ex开头,后面跟4位数字(前两位表示章号,后两位表示例题序号)表示的该程序所在例题的编号。例如,ex0603.m是例6.3的程序,而ex1102.m则是例11.2的对应程序。 (2) 若为书中图形的实现程序,则程序文件名一律以Figure开头,后面跟4位数字(前两位表示章号,后两位表示图形序号)表示的该程序所绘图形的编号。例如,Figure1203.m是实现图12.3的程序,而Figure0710.m则是实现图7.10的对应程序。 (3) 若为函数文件,则直接以函数名命名,例如文件sconv.m即是书中函数sconv()的对应程序。
上传时间: 2013-12-15
上传用户:一诺88
1. 该光盘包含了“信号与系统分析及MATLAB实现”第五章的所有程序; 2. 为了方便读者阅读程序,所有程序均采用中文注释。MATLAB的程序编辑器不支持中文显示,用户只需在Word下直接打开源程序文件,即可阅读程序中的中文注释; 3. 程序文件的命名分为以下三种类型: (1) 若为书中例题的程序,则程序文件名一律以ex开头,后面跟4位数字(前两位表示章号,后两位表示例题序号)表示的该程序所在例题的编号。例如,ex0603.m是例6.3的程序,而ex1102.m则是例11.2的对应程序。 (2) 若为书中图形的实现程序,则程序文件名一律以Figure开头,后面跟4位数字(前两位表示章号,后两位表示图形序号)表示的该程序所绘图形的编号。例如,Figure1203.m是实现图12.3的程序,而Figure0710.m则是实现图7.10的对应程序。 (3) 若为函数文件,则直接以函数名命名,例如文件sconv.m即是书中函数sconv()的对应程序。
上传时间: 2016-07-22
上传用户:王楚楚