Software Listing: Array
- Generate Arrays
- License: Freeware
- Price: 0.00

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..
- Publisher: Marco Zuliani
- Date: 21-05-2013
- Size: 10 KB
- Platform: Matlab, Scripts
- Zero Padding 2^N
- License: Freeware
- Price: 0.00

zeroPadding2N makes zero padding of a given array to a 2^N length. X_ = zeroPadding2N(X), for array X, returns the array with the necessary appended zeros so it reaches the next power of 2 length. X_ = zeroPadding2N(X, N), for array X, returns the array with the necessary appended zeros so it reaches the next 2^N length. Example: If X = [1 2 3]; then X_ = zeroPadding2N(X) returns X_ = [1 2 3 0] X_ = zeroPadding2N(X, 3) returns X_ = [1 2 3 0 0 0 0 0] X_ = zeroPadding2N(X, 1) returns X_ = [1 2 3].
- Publisher: Arturo Moncada Torres
- Date: 07-01-2013
- Size: 10 KB
- Platform: Matlab, Scripts
- Excel Column Name to Number
- License: Freeware
- Price: 0.00

XLSCOLSTR2NUM takes in a cellular array of characters and returns a array of numbers of the same size with elements corresponding to Excel column numbers. See Also XLSCOLNUM2STR.
- Publisher: Matt G
- Date: 22-04-2013
- Size: 10 KB
- Platform: Matlab, Scripts
- Routh-Hurwitz Stability test
- License: Shareware

This program creates Routh-Hurwitz array from coefficients of the characteristic equation and check if the system is stable or not. ======Example 6.2. Page 363, Dorf, 11th edition ====== Checking the stability of q(s)=s^3 +s^2 + 2s +24 run the program and input [1 1 2 24].
- Publisher: Ramin Shamshiri
- Date: 25-03-2013
- Size: 10 KB
- Platform: Matlab, Scripts
- Tektronix wfm file reader
- License: Shareware

Converts TSD5/6/7k and DPO7k/70k .wfm file to ASCII format with time array data_start and data_stop input arguments are optional and can be used to read parts of file.
- Publisher: Randy White
- Date: 11-04-2013
- Size: 10 KB
- Platform: Matlab, Scripts
- Remosaic of RGB image array
- License: Shareware

Interleaves the color pages of an MxNx3 color image array into presumably what was the original, 2Mx2N, intensity output of a Bayer image sensor. Useful for capturing a monochromatic image (like actively illuminated IR) with a color sensor (like a cheap color webcam). It does not compensate for effects due to demosaic or any image processing done between the image sensor array and this function..
- Publisher: Ketan Patel
- Date: 20-02-2013
- Size: 10 KB
- Platform: Matlab, Scripts
- Color filter array color reproduction using cycle-spinning
- License: Freeware
- Price: 0.00

This is a demo program of color filter array (CFA) image color reproduction. J. Tian, W. Yu and L. Ma, "Color filter array color reproduction using cycle-spinning," International Journal of Electronics and Communications, Vol. 64, No. 6, pp. 584-587, Jun. 2010..
- Publisher: Kanchi
- Date: 26-03-2013
- Size: 1116 KB
- Platform: Matlab, Scripts
- ASSIGN VARIABLE NAMES TO MULTIDIMENSIONAL ARRAY AND SAVE
- License: Shareware

The script solves the problem of assigning a variable name that changes with each iteration, while saving the result using a for loop. It uses a multidimensional array as input and produces matrices as outputs (ASCII)..
- Publisher: Nektarios Valous
- Date: 09-06-2013
- Size: 1004 KB
- Platform: Matlab, Scripts
- Label connected components in 2-D array
- License: Shareware

LABEL is a generalization of BWLABEL: BWLABEL works with 2-D binary images only, whereas LABEL works with 2-D arrays of any class. L = LABEL(I,N) returns a matrix L, of the same size as I, containing labels for the connected components in I. Two adjacent components (pixels), of respective indexes IDX1 and IDX2, are connected if I(IDX1) and I(IDX2) are equal. N can have a value of either 4 or 8, where 4 specifies 4-connected objects and 8 specifies 8-connected objects; if the argument is omitted, it defaults to 8. Important remark: ----------------------- NaN values are ignored and considered as background.
- Publisher: Damien Garcia
- Date: 05-04-2013
- Size: 10 KB
- Platform: Matlab, Scripts
- Rank-Revealing QR factorization
- License: Shareware

Rank-Revealing QR factorization of an array. The mex-functions are using the rank-revealing QR routines xGEQPX and xGEQPY from ACM Algorithm 782. Can also handle complex and single precision array's..
- Publisher: Ivo Houtzager
- Date: 12-04-2013
- Size: 10 KB
- Platform: Matlab, Scripts
- findnearest.m
- License: Shareware

Find the index or subscripts of the nearest value in an array to a test value. A bias argument can be included to only return values greater or less than the search value..
- Publisher: Thomas Benson
- Date: 04-04-2013
- Size: 10 KB
- Platform: Matlab, Scripts
- Array sorting
- License: Shareware

This Example will help you in getting the basics of programmatic as well As the various commands used in matlab, Use of Loops, Use of Conditional statements Etc... Here is the surprise, Matlab has an inbuilt function called 'sort' for sorting any array..
- Publisher: satendra kumar
- Date: 17-05-2013
- Size: 10 KB
- Platform: Matlab, Scripts
- DataHash
- License: Shareware

DATAHASH - Checksum for Matlab array, struct, cell or file Hash = DataHash(Data, Opt) Data: Array of built-in types (U)INT8/16/32/64, SINGLE, DOUBLE (real or complex) CHAR, LOGICAL, CELL, STRUCT (scalar or array, nested), function_handle. Opt: Options struct: Opt.Method: 'SHA-1', 'SHA-256', 'SHA-384', 'SHA-512', 'MD2', 'MD5'. Opt.Format: 'hex', 'HEX', 'double', 'uint8', 'base64'. Opt.Input: 'file': Data is a file name. 'bin': Only the contents of Data is considered. Data must be numerical of a CHAR. 'array': Default, contents and type of Data are considered. Nested CELLs and STRUCTs possible.
- Publisher: Jan Simon
- Date: 10-05-2013
- Size: 10 KB
- Platform: Matlab, Scripts
- Write a cell array to a text file
- License: Shareware

This function enables you to directly write data from a cell array into a text file, which functions like FWRITE and FPRINTF do not. Usage: fwritecell(filename, format, data) writes cell array "data" to the file with name "filename" using the C language conversion specifications in argument "format". The conversion specifications are the same as those used by SPRINTF. fwritecell(filename, data) writes cell array "data" using a fixed width format padded with whitespace. The field widths are determined automatically. Note that the decimal point for floating point numbers may not be aligned within columns.
- Publisher: Ameya Deoras
- Date: 10-04-2013
- Size: 10 KB
- Platform: Matlab, Scripts
- Plot a 3D array using patch
- License: Shareware

USAGE ===== This function enables a 3D array to be displayed using a patch surface mesh. To plot a 3D logical array, the function is called using the following syntax: >> hpat = PATCH_3Darray(gridINPUT,gridX,gridY,gridZ); Alternatively, a 3D numeric array can be plotted such that the colour of each facet corresponds to the value of each voxel in the array. The plot is generated using either of the following commands. (Note that voxels which are not to be displayed should contain a value of NaN.) >> hpat = PATCH_3Darray(gridINPUT,gridX,gridY,gridZ,'col'); >> hpat = PATCH_3Darray(gridINPUT,gridX,gridY,gridZ,'sym'); The colormap to be used for the display of a 3D numeric array can also be defined as follows: >> cmap = jet(16); >> hpat = PATCH_3Darray(gridINPUT,gridX,gridY,gridZ,'sym',cmap); INPUT PARAMETERS...
- Publisher: Adam A
- Date: 10-04-2013
- Size: 92 KB
- Platform: Matlab, Scripts
- Array_mutual_coupling_ASM_MBF
- License: Shareware

Simulation of wire antenna array using MBF and ASM.
- Publisher: Belen
- Date: 22-02-2013
- Size: 328 KB
- Platform: Matlab, Scripts
- Routh's array in symbolic way
- License: Shareware

[M L] = routh_hurwitz(P,N) This function gives the Routh's array from a numerical or SYMBOLIC polynomial and includes two special cases: (1) the first element of the row is zero; (b) a row of zeros. P Numerical or symbolic array of coeficients. In the case of symbolic variables it is necesarry to define them as: >> syms a b c ... N Digits to be considered zero a number. E.g, for N=5, 10^(-5) is considered a zero. By default, N=10 M Routh's array without any simplification (e.g., with epsilon notation) L Simplified first column of Routh's array with simplification (e.g., using the limit when epsilon tends to zero) that determines the number of roots in the right-half of the s-plane: the number of changes of signs in L Examples: 1.
- Publisher: Carlos Mario Velez Sanchez
- Date: 13-05-2013
- Size: 10 KB
- Platform: Matlab, Scripts
- Jury's array in symbolic way
- License: Shareware

[M, L] = jury(P,N) This function gives the Jury's array from a numerical or SYMBOLIC polynomial and includes the two special cases: (1) the first element of the second row of a block is zero; (b) a row of zeros (when there are roots on unit circle or reciprocal roots like (r,1/r). The symbolic results can be used to solve inequalities and obtain the stability intervals of symbolic vaiables. P Numerical or symbolic array of coeficients. In the case of symbolic variables it is necesarry to define them in workspace as: >> syms a b c ... N Digits to be considered zero a number. E.g, for N=5, 10^(-5) is considered a zero.
- Publisher: Carlos Mario Velez Sanchez
- Date: 03-06-2013
- Size: 10 KB
- Platform: Matlab, Scripts
- Tracking neurons over multiple days
- License: Shareware

In a series of chronic recording from an array that is physically stable, this algorithm will tell you when you have recorded the same neuron multiple times..
- Publisher: George Fraser
- Date: 23-06-2013
- Size: 10 KB
- Platform: Matlab, Scripts
- Class for character array
- License: Shareware

Create a new type called STR with a character array inside, implemented as a structure. It was inspired in Visual Basic syntax. It was implemented several operators and functions overloads, but allows any character array function using "char" conversor function or ' transpose overload. It's necessary to create a folder from a MatLab folder in one of the MatLab paths. The folder name is class name, with @ prefix. The .m name is class name. Operator Overload: ==,~=,=,>,< -,*,/,,', [], +,-, (), | Function Overload: disp, length, upper, lower, strfind Other Functions: str, left, right, mid, padl,padr, padc, instr, repeat, replace, trim, ltrim, rtrim Example ======= s1=str('play'); s1-'l'+ ' t' + 'cricket' - 'cr' ans= pay ticket More details in the start of str.
- Publisher: Paulo Buchsbaum
- Date: 17-03-2013
- Size: 10 KB
- Platform: Matlab, Scripts








