Array Defined
The default OS Commerce displayes New Products on the front, index.php I needed something customizable.The contribution, also known as yourfrontpage onlys consists of two PHP files and a README.TXT file. Only three changes to existing files are necessary.It will work fine in multiple-language...
Platforms: Windows, *nix, PHP, BSD
License: Freeware | Download (49): Webmaster Defined front page Download |
This script implements the full suite of rich comparison operators if __cmp__ is defined.The __cmp__ method is sufficient to provide comparisons between user-defined classes. However, inheriting from a base class (such as a builtin) which already provides the rich-comparison methods will cause...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (50): Rich Comparison Mixin Download |
This formula will calculate the roots of a multidimensional array of complex numbers. Requirements: - MATLAB 7 or higher
Platforms: Windows, Mac, *nix, Matlab, BSD Solaris
License: Freeware | Download (55): Moivre Download |
The array's end points are automatically excluded. Requirements: - MATLAB 7.8 or higher
Platforms: Windows, Mac, *nix, Matlab, BSD Solaris
License: Freeware | Download (55): Fast Peak Locator Download |
It can eprform the following multidimensional array filtering: running filters in 1D and 2D, filters for image processing applications (erosion/dilatation), 3D and more.The MEX engine uses an algorithms that requires no more than three comparisons per element and per dimension in all...
Platforms: Windows, Mac, *nix, Matlab, BSD Solaris
License: Freeware | Download (59): Min/Max filter 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 |
This script allows you to programmatically access an array using unix filesystem-like paths. Adding, removing, and updating items in an array without hard-coding it's location within the array itself. Especially helpful if the location of data is at differing depths.
Platforms: Windows, Mac, *nix, PHP, BSD Solaris
License: Freeware | Download (52): CS PHP arrayToPath Download |
This script will sort an array of dates with the month spelled out. This is done by converting the date into a more mahis is doformat.
Platforms: JavaScript
License: Freeware | Size: 102.4 KB | Download (46): Date Sorter Download |
This is a cross-browser animation script that shows an array of quotes flowing across the screen at several different speeds and colours.
Platforms: JavaScript
License: Freeware | Size: 10 KB | Download (53): Quote Scroller for Graphics and Animations Download |
This file takes a patch antenna and a dipole, rotates the dipole, and calculates the overall output levels, taking into consideration the array pattern, and a variable combiner. There are extensive comments to show what was being attempted, and some commented out sections to show how the file was...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (44): 2 element antenna array with spherical rotation Download |
I was not able to get the peaks from my experimentally obtained data because of its random nature. As a result the findpeaks() defined in Matlab library was not giving results as expected. Hence I made a code which will help findpeaks() help detect the peaks more accurately.It basically averages...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): Function for finding peaks from data array Download |
IMAGGS(NUM,DEN) Computation of Im[G(s)]=0 of a LTI system with transfer function defined by its NUM, DEN coefficients.Examples used are form "Computation of Stabilizing PI and PID Controllers" by Nusret Tan, Ibrahim Kaya and Dereck P. Atherton.Method is from "Fast calculation of stabilizing PID...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (49): Computation of Im[G(s)]=0 Download |
Gets the Volume enclosed by the surface defined by p,t,tnorm. The surface must be closed and manifold, there is no check for this.The algorithm compute the volume of 3 tetraedrons for each triangle. The normals orientation define the sign of volume, it is just a numerical integration.
Platforms: Matlab
License: Freeware | Size: 614.4 KB | Download (42): VOLUME ENCLOSED BY A TRIANGULATED SURFACE Download |
findMIS is an heuristic algorithm for solving Maximum Independent Set problem (MIS).An independent set of a graph is a subset of vertices in which no two vertices areadjacent. Given a set of vertices, the maximum independent set problem callsfor finding the independent set of maximum...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): Heuristic Algorithm for finding Maximum Independent Set Download |
This function contains the well known greedy algorithm for solving Set Cover problem (ChvdodAtal, 1979), with two small modifications:* In case of more than one possible choice at a certain step, the biggest set is chosen;* Once the solution is found, we check the selected sets to find a better...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (41): Greedy algorithm for Set Cover problem Download |
superlos will calculate mho and whether a target was observed given a terrain and array of observer&targets lats/lons/altitudes. For a single value call the two have similar performance (1x to 2x faster), asymptotes around 40x faster from what I experienced. Gets rid of your for loops!
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (44): superlos : Optimized LOS and Minimum Height Observable Tool Download |
Inputs: 1. a 1 dimensional array of drug concentrations 2. the corresponding m x n array of responses Algorithm: generate a set of initial coefficients including the Hill coefficient fit the data to the 4 parameter dose-response curve using nonlinear least squares Output: a matrix of the 4...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (44): dose_response Download |
Two simple functions to convert a Matlab array in a set of instructions for LaTeX or C. The functions generate a string that can be printed in the Matlab command window and the copied and pasted into your code.
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): Generate Arrays Download |
This simple program finds the ramp response of SISO LTI systems defined by a transfer function.Actually it is based on the MATLAB Control Toolbox function 'step'.
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (39): Ramp Response Download |
An electron gun produces particles with specified rates and random velocities and direction, some of them collide with upper plate that its position and size are defined. This program simulate this process and shows what percent of particles collide with the plate and also show the distribution...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (47): Montcarllo distribution phenomena Download |