Example Of A Shareware
Breadth first traversal of tree script is an example of the self-recursive generators. The first argument should be the tree root; children should be a function taking as argument a tree node and returning an iterator of the node's children.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (51): Breadth first traversal of tree Download |
This script is an example of how to use the winreg module. The code had the first purpose of demonstrating the concept of a graphical shell built in Python. The shell was easily modified to make use of the Window's registry but retains traces of its original method of operation.
Platforms: Windows, Python,
License: Freeware | Download (51): Example For winreg Download |
This script finds the complement of a set of indices from a specific arange(n) array. Suppose, for example, you are given a linear array with 10 elements and you want to extract the elements from this array that have indices other than [1, 3, 5].You can then use this recipe to first find the...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (57): A numarray set complement Download |
A uniform random number generator is used to generate the binary information sequence from the binary data source. The sequence of d-de?0d-deOaos and d-de?1d-deOaos is mapped into sequence of +E and d-deOCtEwhere E represents the signal energy. E may be normalized to unityThe Gaussian noise...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (47): BER vs. SNR of a binary antipodal communication system Download |
[dec_cod, code_bin, code_book] = lempel_ziv(alf, str)It's a function with three output variables and two input variables.'dec_cod' is the decimal code that codify the input string 'str'.'code_bin' is the binary code of the string obtained from the 'dec_cod' conversion.'code_book' is the code-book...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (39): Example of Lempel Ziv coding Download |
This submission provides functions (and examples scripts) for estimation, simulation and forecasting of a general Markov Regime Switching Regression. Features of the package:- Support for univariate and multivariate models.- Support of any number of states and any number of explanatory...
Platforms: Matlab
License: Freeware | Size: 409.6 KB | Download (51): MS_Regress - A Package for Markov Regime Switching Models in Matlab Download |
In Graph Theory it is often required to find out all the possible paths, which can exist between a source node and a sink node.So this function returns a all such possible paths, in a matrix format.INPUTS:1. 'X' Matrix: Form a Nx2 matrix, where N is the total number of 'Edges'. This Matrix will...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (50): FIND ALL THE POSSIBLE PATHS BETWEEN A START AND AN END NODE OF A GRAPH Download |
Here I have presented SIMULINK models that support the work of I. Fantoni, A. Zavala, and R. Lozano (which is included in the archive).There are 3 models in the archive:1) model with unbounded inputs2) model with thrust saturation input bound U=4 (PVTOL1.mdl)3) model with thrust saturation input...
Platforms: Matlab
License: Freeware | Size: 655.36 KB | Download (45): Global stabilization of a PVTOL aircraft with bounded thrust Download |
We would like to rise water temperature with a heater. Oulet temperature must be equal to the set point temperature (80dlT-C). Proportional-Integral-Derivative (PID) control is used. Inlet water temperature is equal to 20dlT-C. Water flow is equal to 10 m3/hr. Tank volume is equal to 100 m3....
Platforms: Matlab
License: Freeware | Size: 40.96 KB | Download (41): Controlling the temperature of a tank filled with water using Simulink Download |
unimodality of a single variable function in a given interval refers to existence of at the most only one maxima or minima. This script checks the unimodality of the function in the interval provided by the user.
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (40): Test of unimodality Download |
This zip archive contains materials for a joint Mechanical Simulation/ MathWorks webinar d-deDUModel-Based Design of an SUV Anti-Rollover Control Systemd-deDt that was held on April 8th, 2009.The recorded version of the webinar may be viewed here:...
Platforms: Matlab
License: Freeware | Size: 747.52 KB | Download (46): Model-Based Design of a SUV Anti-Rollover Control System Download |
This is an end to end example of how to use Builder NE (.NET Builder) to create a full web application that utilizes data and WebFigures to display MATLAB Figurues on the Web in an interactive way.This example shows the "Magic Square" function in MATLAB where a user can specify the size of the...
Platforms: Matlab
License: Freeware | Size: 20.48 KB | Download (42): DotNet Web Example Guide End To End Chapter Download |
The program computes the composition of benzene, toluene and p-xylene versus time in all column plates. The steady state values are plotted versus the plate number for all three components. This MATLAB program is adapted from an example given in Chemical Engineering Dynamics by Ingham et al.,...
Platforms: Matlab
License: Freeware | Size: 40.96 KB | Download (41): Dynamics of a continuous distillation column for the separation of a mixture of Benzene, Toluene Download |
The files include a number of Simulink(R) models with different controllers for a DC motor. There is also a document included that describes the different controllers PID and pole placement with state feedback. The models can serve as a starting point when you develop your control systems in...
Platforms: Matlab
License: Freeware | Size: 6.69 MB | Download (48): PID and State Feedback Control of DC Motors Download |
This zip file contains an example of some resources to help engineering students learn MATLAB. They comprise a flash file with voiceover (select player.html to run this) which will discuss some of the m-files also included. The example included is for an introduction to control, but there are...
Platforms: Matlab
License: Freeware | Size: 4.53 MB | Download (40): Getting started with MATLAB (control engineering example) Download |
A 4 DOF arm based on the Motoman IA20 was built in AutoDesk Inventor. SimMechanics is used to generate a Simulink model. This model generates the dynamics for the robot implicitly, so there is no need to solve the equations of motion by hand. The dynamics are used by an control optimization...
Platforms: Matlab
License: Freeware | Size: 2.25 MB | Download (42): Control optimization of a 4DOF arm using DIDO Download |
The code is explained in the article: Okunev, Pavel, "Fast Computation of the Economic Capital, the Value at Risk and the Greeks of a Loan Portfolio in the Gaussian Factor Model" (July 1, 2005). http://ssrn.com/abstract=758505 This implements one factor Gaussian model. [pd]=pdgs(L,w,p,LL,N) L =...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (40): Cumulative Distribution Function of CDO Loan Portfolio Loss in the Gaussian Factor Model Download |
As a coursework, we are required to price a double barriers knock-in binary put option. We used finite difference method in 24 ways and multinomial lattice in 12 ways. We also implemented analytic and Markov chain method. At the end, we compared these four methods and Monte Carlo method.In this...
Platforms: Matlab
License: Freeware | Size: 358.4 KB | Download (47): An Example of Markov Chain and multinominal option pricing Download |
A Ruler for Windows is a free on-screen pixel ruler and reading guide for your PC. It provides you your choice of a woodgrain, stainless steel, clear see-through plastic, or yellow construction ruler and reading guide - plus you can design your own custom skins too.
With A Ruler for Windows...
Platforms: Windows
License: Freeware | Size: 639.15 KB | Download (334): A Ruler for Windows Download |
OLFix (Freeware) for MS Outlook 97 to 2007 combines some tools for repairing common things like the profile, contact links and features, for example calling the internal Outlook repair command line switches with a click of a button. Also some hidden settings can be set for example reminders in...
Platforms: Windows
License: Freeware | Size: 356 KB | Download (147): OLfix Download |