# Applied relational operators to such as == or < to character arrays or cell arrays of strings accord in matlab

The following Matlab project contains the source code and Matlab examples used for applied relational operators to such as == or

The following Matlab project contains the source code and Matlab examples used for arbitrary files & matlab variables data stream vector converter.
Right now MATLAB COM Automation Server does not support transferring non-cell/array or 3D cell/array in Remote Procedure Calls.

The following Matlab project contains the source code and Matlab examples used for excel column name to number.
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

The following Matlab project contains the source code and Matlab examples used for weighted means.
This function calculates the weighted arithmetic, harmonic, or geometric mean of a set of input value arrays and weight arrays.

The following Matlab project contains the source code and Matlab examples used for automatically arranged multiple subscripts from linear index.
sub = ind2sub1(siz, ind)
Multiple subscripts (written into one vector or matrix) from linear index "ind" for an N-dimensional array defined by its array size "siz".

The following Matlab project contains the source code and Matlab examples used for generate arrays.
Two simple functions to convert a Matlab array in a set of instructions for LaTeX or C.

The following Matlab project contains the source code and Matlab examples used for latex table.
This function exports MATLAB array (numerical or a cell array) to LaTeX enviroment tabularx.

The following Matlab project contains the source code and Matlab examples used for fillzero (v2.1, may 2008).
FILLZERO - replaces zeros of an array with preceeding non-zero values
Y = FILLZERO(X), when X is a vector, returns a vector Y in which each zero in X is changed into the last non-zero value of X that preceeds it.

The following Matlab project contains the source code and Matlab examples used for create a larger array by expanding each element of an array into a subarray. .
REPLICATE is a companion to REPMAT, but instead of tiling a larger array with the input array, REPLICATE does the equivalent of calling REPMAT on each individual element and then tile the results together.

The following Matlab project contains the source code and Matlab examples used for apply a function to each object of an object array.
.
The equivalent to cellfun for object arrays.

The following Matlab project contains the source code and Matlab examples used for count members. .
C = COUNTMEMBER(A,B) counts the number of times the elements of array A are present in array B, so that C(k) equals the number of occurences of A(k) in B.

The following Matlab project contains the source code and Matlab examples used for quantile normalization of 2 dimensional arrays.
Measurements in general can be influenced by many factor such as calibration of the acquistion instruments, day to day variability and other factors such as different source material etc.

The following Matlab project contains the source code and Matlab examples used for export2excel.
EXPORT2EXCEL function exports a Matlab array / Cell array to Excel spreadsheet.

The following Matlab project contains the source code and Matlab examples used for replicate and tile each element of an array. .
EXPAND(A,SZ), for array A and vector SZ replicates each element of A by SZ.

The following Matlab project contains the source code and Matlab examples used for reshape2cube.
Reshapes an vector with n^3 elements into an [n,n,n] array.

The following Matlab project contains the source code and Matlab examples used for reshape 1d to 2d with balance.
reshape1dto2dbalance.m
----------------------
If possible then reshapes 1D array (vector) 'A' into 2D array 'B' such that:
abs(NC-NR) is minimized
where
NR=number of rows in B
NC=number of columns B
Note: Elements of A are placed column-wise in B.
reshape1dto2dbalanceTest.m
--------------------------
A simple test program

The following Matlab project contains the source code and Matlab examples used for fast peak locator.
Returns array containing the indices corresponding to local maxima of the input array. End points are excluded.

The following Matlab project contains the source code and Matlab examples used for union of several arrays.
function [varargout] = union_several (varargin)
% function [varargout] = union_several (varargin)
% varargout{1} is the union vector
% varargout{i>1} are the indices of the various varargin (in their order)
numarr = length(varargin);
union_arr = varargin{1};
for i=1:numarr
union_arr= union(union_arr,varargin{i});
end
varargout{1} = union_arr;
for i=1:numarr
[union_arr, temp,varargout{i+1}]= union(union_arr,varargin{i});
end

The following Matlab project contains the source code and Matlab examples used for intersect several arrays.
function [varargout] = intersect_several (varargin)
% function [varargout] = intersect_several (varargin)
% varargout{1} is the intersect vector
% varargout{i>1} are the indices of the various varargin (in their order)
numarr = length(varargin);
intersect_arr = varargin{1};
for i=1:numarr
intersect_arr= intersect(intersect_arr,varargin{i});
end
varargout{1} = intersect_arr;
for i=1:numarr

The following Matlab project contains the source code and Matlab examples used for sarr a pedestrian array splitter.
SARR splits a 2D array into adjacent subarrays
in COL -> ROW order.

The following Matlab project contains the source code and Matlab examples used for random shuffling of 2d-array elements. .
Shuffles the elements of a 2D-array, either all elements or along dimensions.

The following Matlab project contains the source code and Matlab examples used for excel column number to column name.
XLSCOLNUM2STR takes in an array of numbers and returns a cellular array of the same size with cell of corresponding Excel column names.
example:
n=[1 10;
53 256]
c=xlsColNum2Str(n);
c={'A' , 'J';
'BA', 'IV'}
See Also XLSCOLSTR2NUM

The following Matlab project contains the source code and Matlab examples used for what's new for object oriented programming in matlab webinar code examples.
These are the code examples used in the "What's New for Object-Oriented Programming in MATLAB®" webinar, which described the new object oriented features in Release 2008a.

The following Matlab project contains the source code and Matlab examples used for swapbytes c mex function.
swapbytes is a self-building C-mex function that mimics the MATLAB intrinsic function of the same name, reversing the byte ordering of each element in array X1, X2, .

The following Matlab project contains the source code and Matlab examples used for manipulate stack objects as dynamic arrays .
The stack object implemented here is a partial solution to the problem of dynamic arrays.

The following Matlab project contains the source code and Matlab examples used for function analogous to diff, but takes sums instead. .
%SUMM Sum of consecutive pairs in an array, analogous to DIFF.

The following Matlab project contains the source code and Matlab examples used for extends the matlab command trisurf() to put a contour plot below the mesh. .
[cout,hout] = trisurfc(xin,yin,zin,N)
Regularly just called by with the following syntax to produce a plot:
trisurfc(xin,yin,zin,N)
Where xin,yin,zin are 1-D arrays of the x,y,z triples of the points in your mesh.

The following Matlab project contains the source code and Matlab examples used for reshape2matrix v1.0 (oct 2009).
SYNTAX:
a) N-dim array X to matrix Y:
>> Y = reshape2matrix(X,DIM);
b) Matrix Y to N-dim array X:
>> X = reshape2matrix(Y,DIM,SIZE);
DESCRIPTION:
Some MATLAB or users defined functions do not work through an specific dimension in a multidimensional array, whether because its not supported like in FILTFILT or the output is a matrix like in CORRCOEF.

The following Matlab project contains the source code and Matlab examples used for aggregate data using any number of multiple columns.
Surprisingly, I never came across the simple solution of aggregating data using accumarray.

The following Matlab project contains the source code and Matlab examples used for array merger.
[list]=combine[list1,list2] will combine and merge two arrays into one array of cells.