Arrays
It can establish a connection to a MySQL database server host, execute SQL queries and retrieve the results into arrays. The identifier of the last inserted record can also be retrieved, and whether a given table exists can be checked. Requirements: - PHP 4 or higher
Platforms: Windows, Mac, *nix, PHP, BSD Solaris
License: Freeware | Download (51): Bobo PHP DB Class Download |
This script is a groupby function for arrays. Given a list of arrays and a `key` function, it will group each array based on the value of `key(args[0])`. The returned arrays will be two dimensional. The size of the first dimension is equal to the number of groups, and the size of the second...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (53): Groupby for ndarrays Download |
phpArmory is a PHP class library that can easily fetch and unserialize World of Warcraft Armory XML data into structured associative arrays. The phpArmoryCache class fully supports both flat files and mysql caching of any and all "fetch" functions.
Platforms: Windows, Mac, *nix, PHP, BSD Solaris
License: Freeware | Download (54): phpArmory Download |
GDGraph for PHP is a PHP class that gives it the ability, while using GD, to build dynamic line, pie and bar graphs given some preformed arrays. The way this class works, is that it will return an online PNG image to your browser after any of it's functions (bar_graph, pie_graph or line_graph are...
Platforms: Windows, Mac, *nix, PHP, BSD Solaris
License: Freeware | Download (55): GDGraph for PHP Download |
Config.js allows developers to configure their applications in an XML block instead of hard-coding values inside their scripts or in JSON objects. The XML can be embedded inside an HTML document or in a separate XML file. The configuration block may contain strings, numbers, arrays and HTML....
Platforms: JavaScript
License: Freeware | Size: 20.48 KB | Download (46): config.js Download |
3D Array Factor of a 4x4 planar array antenna calculated using general formulas and then plotted in 3D format."AB" shows the excitation amplitude of the elements and "AB_phase" shows their phases.Elements are placed on the x and y axis and element factor is ignored. The code can easily be...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (52): 3D Array Factor of a 4x4 planar array antenna Download |
This is an old program (1.999) that I have written for understanding radiation patterns of antennas. Basically I was looking for the relationship between interference diagram (Fourier transform of ilumination, usually called Array Factor) and 3D radiation pattern of the Array. For that reason, it...
Platforms: Matlab
License: Freeware | Size: 225.28 KB | Download (48): Antenna's Array Synthesis Download |
PLOTAUTOBD builds bifurcation diagrams as displayed by XPPAUT, from AUTO data saved in a DAT file by XPPAUT option File/All Info.Several built-in features allow to finely control the graphic output with the possibility to produce publication quality figures as well as to make bifurcation data...
Platforms: Matlab
License: Freeware | Size: 440.32 KB | Download (51): plotautobd Download |
This function is a more robust and improved version of my previous submission, matchingpursuit.mThis function computes the projection of a given input vector or matrix onto a "dictionary" of other vectors or matrices using a matching pursuit algorithm. Users may input a vector to be synthesized,...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (39): matchPurs.m Download |
This program operates as a signal spectrum analyzer and a distortion meter at the same time. It can accept any numerical data representing few cycles of a signal. The data do not need to be equally separated. At least ten data points per cycle are needed. Higher number of data points will of...
Platforms: Matlab
License: Freeware | Size: 102.4 KB | Download (47): Fully Automatic Signal Spectrum Analyser Download |
Clipping is the main program. There are three inputs: y is the time record, threshhold_value is the clipping threshhold, and threshhold_samples is the number of consecutive data points exceeding the threshhold_value to indicate that the data is clipped.The program returns two cells arrays...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): Clipping Indicator Download |
Passing & Bablok described this procedure in the 1983.This procedure is ideal if you want to compare 2 different methods (instrument) which measure the same chemical analyte in the same sample.Classical linear regression method assume that variables X and Y are normal distributed and with a...
Platforms: Matlab
License: Freeware | Size: 583.68 KB | Download (44): Passing and Bablok regression Download |
STREAMCOLOR(X,Y,U,V,STARTX,STARTY,VMAG) or STREAMCOLOR(X,Y,Z,U,V,W,STARTX,STARTY,STARTZ,VMAG) creates streamlines from 2D or 3D vector data U,V,W. The arrays X,Y,Z define the coordinates for U,V,W and must be monotonic and 3D plaid (as if produced by MESHGRID). STARTX, STARTY, and STARTZ define...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Streamcolor Download |
IDX = OTSU(I,N) segments the image I into N classes by means of Otsu's N-thresholding method. OTSU returns an array IDX containing the cluster indices (from 1 to N) of each point. IDX = OTSU(I) uses two classes (N=2, default value). [IDX,sep] = OTSU(I,N) also returns the value (sep) of the...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): Image segmentation using Otsu thresholding 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 |
Dynamical analyses in engineering often require inertial properties of complex shapes such as polyhedra. The volume, the first moment of volume and the second moment of volume of a general solid can be computed by V = Integral( dVol ), VR = Integral( R*dVol ), VRR = Integral( R*Rd-deOao*dVol )....
Platforms: Matlab
License: Freeware | Size: 30.72 KB | Download (40): Polyhedron Inertial Properties Download |
NBODYVECT - Fully vectorized n-body equationnbodyVect(x0,dx0,mus,t) integrates the n-body equations of motion using either a symplectic second order integrator, or any of the standard built-in or user supplied first order integrators. x0 - 3n x 1 stacked initial position vectors:...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): Vectorized N-Body Equation Download |
CSMV calculates distances from a given set of points to a set of linear segments SYNOPSIS: [squared_distances_to_segments I]=csmv(P,R,Q,to_plot) [squared_distances_to_segments I]=csmv(P,R,Q,...) INPUT P,R : arrays of coordinates of 2n segment endpoints (i.e., if there are n segments considered in...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): Calculation of distances from a given set of points to a set of segments Download |
The function arg2vars serves for assigning of values from input argument(s) to variables declared in the output list in the place ofthe function calling. Not assigned output variables are empty, while superfluous arguments are cut to a number of output variables. Number of allocated items is a...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): Multiple assignment Download |
Use this simple, self-contained class definition to obtain quotes and historical data from Yahoo finance.f = stock('f','5y','d);creates a stock object with a current quote and five year history of daily data for the stock symbol 'f' (Ford Motor Company).f.plot;charts the historical data. The...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (42): Stock Class Download |