ARRAYIFY Converts a set of scalars or arrays into column arrays. [O1,O2,O3,...,ON]=ARRAYIFY(I1,I2,I3,...,IN) where each of the IN is either a scalar or an array with M elements, converts each input variable into a length M column vector. The input variables that are M-element arrays are resized to column vectors, while scalars are replicated to have M identical elements. ARRAYIFY will return an error if any of the input variables that are not scalars have different numbers of elements from each other. ARRAYIFY(I1,I2,...IN); with no output arguments overwrites the original input variables. 'arrayify --t' runs a test. Usage: [o1,o2,o3]=arrayify(i1,i2,i3); __________________________________________________________________ This is part of JLAB --- type 'help jlab' for more information (C) 2013--2016 J.M. Lilly --- type 'help jlab_license' for details