www.kxcad.net Home > CAE Index > MSC Software Index > Adams MD R2 Index
CLIP Returns an MxNumvals matrix of values extracted from an MxN matrix, where: • Output[I,1] = A[I,Start] • Output[I,Numvals] = A[I,Start+Numvals-1] The following conditions apply to the equations above: • I=1 to M • 1 < Start < N • Numvals < (N-Start+1) Format CLIP (A, Start, Numvals) Arguments A An MxN matrix of real values. Start The index to the first column of values to be included in the output. Numvals The number of columns to be included in the output. Example The following example illustrates the use of the CLIP function: Function CLIP( {[8, 10], [12,14], [16, 18]} , 1 ,1 ) Result 8, 12, 16 Learn more about matrix/array functions.