Documentation for "stransp1"

PURPOSE ^

STRANSP1 transpose a structure of arrays into an array of structures

SYNOPSIS ^

function s2 = stransp1(s1)

DESCRIPTION ^

STRANSP1  transpose a structure of arrays into an array of structures

    s2 = stransp1(s1)

 transpose a structure of arrays into an array of structures

 example: if s1 is
 
   a: [4x6]
   b: [3x6]
   c: [2x6]
 
 then s2 is an array of 6 structures, each with fields
 
   a: [4x1]
   b: [3x1]
   c: [2x1]

 The second dimension of the fields of s1 must all be the same.

 See also: stransp2

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Wed 05-Jan-2011 21:42:04 by m2html using template 3frames © Guillaume Flandin, Lorenz Gerstmayr, 2003-2005