Defined
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 |
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 |
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 |
nother method of PWM generation using user defined block
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (39): PWM generation Download |
defined by :PSNR(x,y) = 10*log10( max(max(x),max(y))^2 / |x-y|^2 ).
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): PSNR- Peak Signal to Noise Ratio Download |
Inscribed_Rectangle package provides 2 low level computer vision / image analysis functions able to locate largest square or rectangle inscribed inside arbitrary shape defined by a binary mask (black and white image). Only rectangles with vertical/horizontal edges are considered. The functions...
Platforms: Matlab
License: Freeware | Size: 552.96 KB | Download (50): Inscribed_Rectangle Download |
a Frobenius is defined as y = a1*x1 + a2*x2 + a3*x3 which has no integer solution of x(i). a1, a2, a3 are positive integers.a1,a2,a3 are given in ascending order.findFrobenius( a1, a2, a3, MAX )MAX is the upper limit of search.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): find the greatest Frobenius number Download |
Basic examples of using trapz and quad to evaluate the integral of two simple known functions between defined limits.A for loop is used to loop over the upper limits of integration. The results are compared to show the greater accuracy, efficiency and ease of use of quad for a known function
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): trapz and quad basic examples Download |
Did you ever want the ability to define a special constant that is seen by and used in all of your functions, without needing to create global variables?For example, suppose you used the golden ratio often in your work. Rather than creating a global variable named phi, or being forced to pass a...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): User Defined Constants Download |
The function (written entirely in MATLAB) allows the selection of connected pixels whose colors are within a defined tolerance of reference pixels.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 133.12 KB | Download (45): Simulating Photoshop's magic wand tool Download |
This M-function produces an image of a 3D object defined by matrix a(l,m,n) in terms of voxels.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (40): plot3d.m Download |
SQLite Full Text Search implements a User Defined Function (UDF) that adds full text search SQL commands to SQLite.This User Defined Function allows to execute a simple full text search queries against the text fields of SQLite database tables.
Platforms: PHP
License: Freeware | Size: 10 KB | Download (42): SQLite Full Text Search Download |
basic_db can perform SQL queries SELECT, INSERT, UPDATE and DELETE from arguments defined programmatically. The tables are defined by arguments to query, fields, WHERE and ORDER by clauses.
Platforms: PHP
License: Freeware | Size: 10 KB | Download (43): basic_db Download |
DbProxy can be used to execute MySQL queries from SQL templates defined in XML files.The script can parse a given XML file that contains definitions of SQL query templates. DbProxy can execute given MySQL queries eventually replacing template parameters with given values.
Platforms: PHP
License: Freeware | Size: 143.36 KB | Download (43): DbProxy Download |
The parameters are defined programatically and specify tables, fields, value conditions etc.Currently PDO_DB can execute select queries to retrieve results into arrays, insert or update records into a table from values passed in an associative array, and delete table records that match a given...
Platforms: PHP
License: Freeware | Size: 10 KB | Download (41): PDO_DB Download |
This class is meant to compose MySQL database queries from conditions defined dynamically calling the class functions. It can compose MySQL database queries add, delete, reset conditions and key values used to determine the affected rows.
Platforms: PHP
License: Freeware | Size: 10 KB | Download (43): MySQL Query Generator Download |
Retrieve stock data from Yahoo and draw the rolling frontier 3D graph of the defined stocks during the defined date range. Can't get COP's stock data correctly when I tried, not sure whether Yahoo's or Matlab's falt. b is the begin date. e is the end date. l is the list of stocks. d stores the...
Platforms: PHP
License: Freeware | Size: 10 KB | Download (45): Frontier Demo Download |
Say you have two custom taxnomies defined: genre and artist.Currently, you can do the following types of queries on your site:?genre=jazz?genre=jazz&cat=1But you can't do this:?genre=jazz&artist=chet-bakerWordPress will just ignore one of the parameters. This plugin fixes that.It also comes with...
Platforms: PHP
License: Freeware | Size: 10 KB | Download (40): Query Multiple Taxonomies Download |