This programme is to control DC motor in a certain speed using PWM. The target speed is "r", it is the speed in 1s. The sample rate is 0.1s, so the actual speed target is "rc"=r/10. The "r" and "rc" are integer, and the range of "r" is from 50 to 100. Keep rc=r/10!!! The array "speed1" and "speed2" are the control result, in 0.1s and 1s. The length of "speed1" is 2400, and "speed2" is 240. The "pw" and "nw" are the parameters of PWM. The test will last 4 min.
标签: speed programme is control
上传时间: 2014-11-22
上传用户:jyycc
Whenever there is an application to write, breaking it up to small pieces is a great idea. The smallest piece of any application would probably be a data object, or a simple Bean in Java. Java Beans are simple Java classes that have a distinctive look and behavior. Their simplest purpose is to contain data and they accomplish this by having properties. Each property is actually a data-member containing/referencing the actual data and a couple of methods, a getter method and a setter method. Thus, the simplest data-bean describing a person could be expressed as such:
标签: small application Whenever breaking
上传时间: 2016-11-07
上传用户:lingzhichao
The idea behind differential GPS is to remove as much errors as possible from the range measurements by establishing these errors at a reference site. In its most simple setup, a GPS receiver is located at a well surveyed position and its (pseudo) range measurements are compared with the actual calculated range from this receiver to the SV s. The differences between measured ranges and calculated ranges at the reference receiver are applied as corrections to the ranges measured by other receiver(s) close by.
标签: differential measurements possible behind
上传时间: 2013-12-19
上传用户:zgu489
basic.c */ /**//* Project:NeuroBasic, basic package*//**/ /* Survey:This is a simple Basic b-code compiler which*/ /*can be used as a comfortable command shell for */ /* any program. The actual compiler is found in */ /*compiler.c.*/ /*The functions m_fctptr() and user_server()*/ /*build an interface to an
标签: basic NeuroBasic Project package
上传时间: 2017-02-15
上传用户:xymbian
This taglib contains tags used to create struts input forms, as well as other tags generally useful in the creation of HTML-based user interfaces. Many of the tags in this tag library will throw a JspException at runtime when they are utilized incorrectly (such as when you specify an invalid combination of tag attributes). JSP allows you to declare an "error page" in the <%@ page %> directive. If you wish to process the actual exception that caused the problem, it is passed to the error page as a request attribute under key org.apache.struts.action.EXCEPTION.
标签: tags generally contains taglib
上传时间: 2017-02-21
上传用户:dianxin61
davidmaxwaterman (December 28, 2007 at 7:29 am)ah, the extra credits part of the NotepadCodeLab helps a lot. There s nothing like actual code and a debugger to explain things :) ...
标签: davidmaxwaterman NotepadCodeLab the December
上传时间: 2017-04-28
上传用户:气温达上千万的
Attempt to write voice dictionary: search and play wav files (could be obtained from stardict voice dictionary). Netbeans project and use of Java MIDP. Tested on Nokia 5310. actual midlet source inside the project - HelloMidlet.java. Jar file to try voicedic.jar.
标签: voice dictionary obtained stardict
上传时间: 2017-08-30
上传用户:jackgao
As a general rule, PhD students and their supervisors tend to focus primarily, or even exclusively, on the content of the research that will go into the doctoral thesis. Other issues are often taken for granted: how to organize your work, give a presentation, work in a team, cope with your supervisor, and how to effectively manage your time.When asked, former PhD students usually claim that the general experience of being a graduate student, which includes learning how to solve complex problems and work well with others, was of greater value to their careers than the actual topic of their thesis.
标签: exclusively supervisors primarily students
上传时间: 2013-12-16
上传用户:qlpqlq
matlab有限元网格划分程序 DistMesh is a simple MATLAB code for generation of unstructured triangular and tetrahedral meshes. It was developed by Per-Olof Persson (now at UC Berkeley) and Gilbert Strang in the Department of Mathematics at MIT. A detailed description of the program is provided in our SIAM Review paper, see documentation below. One reason that the code is short and simple is that the geometries are specified by Signed Distance Functions. These give the shortest distance from any point in space to the boundary of the domain. The sign is negative inside the region and positive outside. A simple example is the unit circle in 2-D, which has the distance function d=r-1, where r is the distance from the origin. For more complicated geometries the distance function can be computed by interpolation between values on a grid, a common representation for level set methods. For the actual mesh generation, DistMesh uses the Delaunay triangulation routine in MATLAB and tries to optimize the node locations by a force-based smoothing procedure. The topology is regularly updated by Delaunay. The boundary points are only allowed to move tangentially to the boundary by projections using the distance function. This iterative procedure typically results in very well-shaped meshes. Our aim with this code is simplicity, so that everyone can understand the code and modify it according to their needs. The code is not entirely robust (that is, it might not terminate and return a well-shaped mesh), and it is relatively slow. However, our current research shows that these issues can be resolved in an optimized C++ code, and we believe our simple MATLAB code is important for demonstration of the underlying principles. To use the code, simply download it from below and run it from MATLAB. For a quick demonstration, type "meshdemo2d" or "meshdemond". For more details see the documentation.
标签: matlab有限元网格划分程序
上传时间: 2015-08-12
上传用户:凛风拂衣袖
This books attempts to provide an extensive overview on Long-Term Evolution (LTE) networks. Understanding LTE and its Performance is purposely written to appeal to a broad audience and to be of value to anyone who is interested in 3GPP LTE or wireless broadband networks more generally. The aim of this book is to offer comprehensive coverage of current state-of-the-art theoretical and techno- logical aspects of broadband mobile and wireless networks focusing on LTE. The presentation starts from basic principles and proceeds smoothly to most advanced topics. Provided schemes are developed and oriented in the context of very actual closed standards, the 3 GPPP LTE.
标签: Performance LTE and its
上传时间: 2020-05-27
上传用户:shancjb