You are here: Symbol Reference > MtxExpr Namespace > Classes > Vector Record > public > UpSample Method > Vector.UpSample Method (TMtxVec, integer, integer, integer, integer, integer)
MtxVec VCL
ContentsIndex
PreviousUpNext
Vector.UpSample Method (TMtxVec, integer, integer, integer, integer, integer)

Inserts zeroes between consecutive array values.

Pascal
function UpSample(const Src: TMtxVec; Factor: integer; SrcIndex: integer; Index: integer; Len: integer; Phase: integer = 0): TMtxVec; overload;

Copy Len values from Src starting at SrcIndex to the calling object starting at position Index and place Factor-1 zeros between consecutive values. Size and Complex properties of the calling object must be set explicitly. Phase parameter defines the initial sample offset and must be less then Factor. An exception is raised, if array borders are overrun/underrun.

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!