Home > Applications > Horace > @d2d > replicate.m

iFit/replicate

PURPOSE ^

Make a higher dimensional dataset from a two dimensional dataset by

SYNOPSIS ^

function wout = replicate (win, wref)

DESCRIPTION ^

 Make a higher dimensional dataset from a two dimensional dataset by
 replicating the data along the extra dimensions of a reference dataset.

 Syntax:
   >> wout = replicate (win, wref)

 Input:
 ------
   win     Two dimensional dataset.

   wref    Reference dataset structure to use as template for expanding the 
           input straucture.
           - The plot axes of win must also be plot axes of wref, and the number
           of points along these common axes must be the same, although the
           numerical values of the coordinates need not be the same.
           - The data is expanded along the plot axes of wref that are 
           integration axes of win. 
           - The annotations etc. are taken from the reference dataset.

 Output:
 -------
   wout    Output dataset structure.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Mon 26-Nov-2018 15:08:42 by m2html © 2005. iFit (c) E.Farhi/ILL EUPL 1.1