Home > Objects > @iData > reducevolume.m

iFit/reducevolume

PURPOSE ^

h = reducevolume(s, factor) : reduce an iData object size

SYNOPSIS ^

function s = reducevolume(a, R)

DESCRIPTION ^

 h = reducevolume(s, factor) : reduce an iData object size

 B = REDUCEVOLUME(A, [Rx Ry Rz ... ]) reduces the number
    of elements in the object by only keeping every Rx element in the x
    direction, every Ry element in the y direction, and every Rz element
    in the z direction and so on. 
 B = REDUCEVOLUME(A, R)
    If a scalar R is used to indicate the amount or
    reduction instead of a vector, the reduction is assumed to
    be R on all axes. 

 B = REDUCEVOLUME(A)
    When omitted, the volume/size reduction is performed on bigger axes until
    the final object contains less than 1e6 elements.

 Version: Nov. 26, 2018
 See also iData, reducevolume,plot, iData/plot, iData/size

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