Multiplication Array
This simple PHP example shows how to read a text file into an array, with each line of the file as a seperate element.
Platforms: Windows, *nix, PHP, BSD
License: Freeware | Download (65): read file to array Download |
search array find in array script searches an array to find a specific value.
Platforms: Windows, Mac, *nix, PHP, BSD Solaris
License: Freeware | Download (63): search array find in array Download |
Using 'reduce' and 'map', this code shows how a matrix vector multiplication can be reduced to a single loop.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (54): Matrix vector multiplication 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 |
UTC time (universal time convention) is used in ANSI-C standard for defining time. This is measured in seconds since 1970, at the Prime Meridian.The UTC2Datenum_array function takes a M x 1 array of UTC time values and converts it to a M x 1 array of Matlab serial Time values.This code is derived...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): Convert Time Array to a Datenum Array Download |
Given the coefficients of the characteristic polynomial the Routh-Hurwitz array is created and printed. Additionally, this method shows some results from the array relating to the stability of the system.
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (44): Routh Hurwitz array Download |
No error checkinga very basic function easy to understandGiven an array X of size [m,n]output is an array of size [m,n]the rows of the output array sum to 1
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (50): Normalize Array Row Wise Download |
Accepts a 1-dimensional struct array (in the format 1xn) and converts it into a cell array. The first row of the cell array has the struct's field names in each column; the data from each of those fields for each entry in the struct array appears in subsequent rows. The idea is to make it easy to...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): Convert Struct to Cell Array With Column Headers Download |
An array of antenna elements is a spatially extended collection of N similar radiators or elements,
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (42): Designing the array of antenna patterns Download |
Inverse every 2D matrix slice (the first two dimensions) for multi-dimensional array M: M(:,:,p,q,...) * X(:,:,p,q,...) = repmat(eye(m),[1,1,p,q,...]),where input M is a N-D array (m x m x [p x q x ...]), for all possible m=1,2,3,...and optional higher dimensions. Output X array has the same size...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): Inversion every 2D slice for arbitrary Multi-dimension array. Download |
This function writes a cell array into a CSV-file.It works with empty cells, numeric, char, string and logical cells. One array can contain all of them, but only one value per cell.CSV-files can then be read by Excel, so you don't need DDE or ActiveX.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (48): Cell Array to CSV-file [cell2csv.m] Download |
This code converts a Galois Field array created using GF(2^m) for a given primitive polynomial into the 'exponential' notation, which you can use with gfrepcov() to binary if you wish.Uses the gf2dec() function internally.Example usage:>> genpoly = rsgenpoly(15,11)genpoly = GF(2^4) array....
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): Galois Field Array to Exponential Array Conversion Download |
Used to perform B*M or M*B with B a block diagonal matrix, B is stored as a cell array (call it C) with each element a matrix as a block of B, such that B = blkdiag(C{:}).This speeds up the multiplication when B is large and also allows the operation to take place when B could not fit in the...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (46): block diagonal multiplication Download |
Given an array, it is possible to imagine a virtual array formed by padding the original array out in all directions. Valid subscripts for this virtual array range through all the negative and positive integers, without regard to the size of the original. This function implements this idea.The...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): Extended array indexing Download |
MULTIPROD is a powerful, quick and memory efficient generalization for N-D arrays of the MATLAB matrix multiplication operator (*). While the latter works only with 2-D arrays, MULTIPROD works also with multidimensional arrays.MULTIPROD performs multiple multiplications between matrices, vectors,...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 501.76 KB | Download (47): Multiple matrix multiplications, with array expansion enabled Download |
SQL Parse Convert to Tree Array takes a given SQL query and parse it to extract the structure or queries and sub-queries. The resulting structure is returned as an array.SELECT, INSERT, UPDATE and DELETE queries are currently supported.
Platforms: PHP
License: Freeware | Size: 10 KB | Download (44): SQL Parse Convert to Tree Array Download |
This module will implement Views display plugin that enable getting the output of a view in PHP array format. This module can be useful for developer who needs to further process view output.For both Site Builder and Developer's guide to Views PHP Array, please visit the Advanced Help page of...
Platforms: PHP
License: Freeware | Size: 10 KB | Download (52): Views PHP Array Download |
The Array Tokens module allows you to use all values in multiple-value CCK fields and multiple-value taxonomy terms in a single token. It also allows you to define your own settings for how items should be merged ("merge styles").The output of each item is either plain text (for taxonomy terms)...
Platforms: PHP
License: Freeware | Size: 10 KB | Download (46): Array Tokens Download |
Converts the WAV data to a byte array which is stored as text in a GZIP file. Can play back the audio from GZIP .BAZ file. The Byte Array Delimiter is a colon. Currently for WAV's under 8MB. MUST SET HEAP SIZE ACCORDINGLY WHEN RUNNING. Source Avail.
Platforms: Mac
License: Shareware | Cost: $0.00 USD | Size: 133.12 KB | Download (40): Java Audio Byte Array Zip Download |