An
Special method __copy__ is the easiest way for an object to cooperate with the copy.copy function. This script allows you to bypass the object's __init__, even if it's slow, to get an 'empty' object of this class.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (58): Fast copy of an object having a slow __init__ Download |
This script contains a quick function to comma separate thousands in an integer or float.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (53): Commafying an integer Download |
This script allows you to choose a random object from an iterated list. Each item has an equal chance of being picked. The iterator is processed only once, and only the selected items are stored, making this function memory efficid only thbr />
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (54): Picking random items from an iterator Download |
This script shows an extremely simple implementation of a method used for randomizing the iterable. This script evaluates the entire iterable to a sequence in memory.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (51): Randomize an iterator Download |
This script prints a nicely formatted overview of an object, including _everything_ in the object's `dir'. This is great when programming interactively.It is more comprehensive than help(), prettier than dir().
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (51): Dump all the attributes of an object Download |
Prototype of an application written in php, which includes : smarty, adodb, pbjetbdd, phpgacl and esup-phpcas. Login can be managed into a database, ldap directory or a SSO-CAS.
Platforms: Windows, Mac, *nix, PHP, BSD Solaris
License: Freeware | Download (49): Prototype of an PHP application Download |
The program takes the columns of an input matrix and calculates the auto and cross correlation of these columns using an fft method. The result is very similar to the xcorr function. This method could be used to evaluate the cross correlation of repeating code sequences, and other similar...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): Circular Cross Correlation of the Columns of an Array - circ xcorr Download |
This basic model shows you how to acquire live data from an Agilent oscilloscope into Simulink. This model was developed for the Agilent 6000 series oscilloscope but may work with other Agilent scopes with little or no modifications.I welcome submission reviews below to let us know whether you...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): Data acquisition into Simulink using an Agilent oscilloscope Download |
Dynamic simulation of a star delta start of an asynchronous motor. The switching from star to delta is done manually with a switch in the model. Visible are stator current, speed, motor torque and load torque
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 71.68 KB | Download (39): Star delta start of an asynchronous motor Download |
Skipping StoneA richly featured application to design trajectories for interplanetary space missions using (multiple) gravity-assist maneuvers. Its most prominent capabilities are:- single/multi objective optimization- can work with a multitude of (heuristic) optimization algorithms- Low/high...
Platforms: Matlab
License: Freeware | Size: 7.81 MB | Download (53): Skipping Stone - An interplanetary space mission design tool 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 (52): FIND ALL THE POSSIBLE PATHS BETWEEN A START AND AN END NODE OF A GRAPH Download |
This code determines the mean first passage time (MFPT) of an Ornstein-Uhlenbeck process from analytical solutions obtained from M.U. Thomas (1975), S. Sato (1977), and S. Sato & M. Ricciardi (1988) (all articles published in J. Appl. Prob.).Note that this code yields a dimensionless MFPT (i.e....
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (47): Mean First Passage Time of an Ornstein-Uhlenbeck Process Download |
This function makes an imagesc-like plot for two matrices with equal dimensions, in which each each cell of the plot is split diagonally with the upper triangle of cell (i,j) in the plot representing the Matrix1(i,j) and the lower triangle representing Matrix2(i,j).
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): Overlay 2 matrices in an imagesc-like plot Download |
Numerical solutions for the conversion of an isothermal axially dispersed plug flow reactor accomplishing first and second order reactions are obtained. The Danckwerts boundary conditions for the so-called "closed" configuration are used. We use the shooting method since it is a...
Platforms: Matlab
License: Freeware | Size: 40.96 KB | Download (40): Prediction of Conversion with an Isothermal Axially-Dispersed Plug Flow Reactor Download |
An image in your root directory can be zoomed by calling the above program.*First try with a small image. Because when the image is smaller, program response quickly.How to Run the Program*copy bilinear_zoom.m file and the image file to your work directory.Example-*if the name of image in root...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (48): image processing-zooming an image using Bilinear interpolation Download |
This programs explains the formulation of Ybus by singular transformation method of an IEEE 14 bus system
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): Formulation of Ybus by singular transformation method of an IEEE 14 bus system Download |
This function finds dominant peaks and valleys of an image histogram. Minimum peak distance and averaging filter size can be changed to suit your need.Although, the function is originally written for mages, there is no reason why this can't be used on one dimensional data.USAGE:[peaks minima_low...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): Finding Dominant Peaks and Valleys of an Image Histogram Download |
The modal functions of an elliptic membrane with fixed edges are expressed as products of angular and radial Mathieu functions with the natural frequencies being found in terms of the zeros of the radial functions. Routines to compute functions ce,se, Mc1 and Ms1 are provided. Mode shapes are...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Vibration Modes of an Elliptic Membrane Download |
This file explains how to run the demo shown in the July 2005 MATLAB Digest Article "Improving an Engine Cooling Fan Using Design for Six Sigma Techniques." You will need MATALAB, Statistics Toolbox, Curve Fitting Toolbox, and Optimization Toolbox to run all of the analysis. I recommend you view...
Platforms: Matlab
License: Freeware | Size: 696.32 KB | Download (45): Improving an Engine Cooling Fan Using Design for Six Sigma Technique Download |
This MATLAB(R) script generates a real time plot of voltage values collected from an Agilent(TM) 34401A Digital Multimeter over the serial port(RS232). The data is collected and plotted until the predefined stop time is reached. This example also demonstrates automating a query based interaction...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): Collect and plot data from an instrument in real time Download |