Programmer Guide/SPU Reference/STEPS: Difference between revisions

From STX Wiki
Jump to navigationJump to search
m (1 revision: Initial import)

Revision as of 12:14, 28 April 2011

STEPS - scale generator

Usage:

STEPS X DX N TYPE

Inputs:
X 1st x-value no default
DX X increment or factor default = 0
N number of values default = 1
TYPE scale type
Outputs:
Y scale vector
Function:

This atom generates a series of N values, and stores it in the output vector Y. The main use of this function is the generation of the X-scale vectors of graph-items.

TYPE=0 or TYPE=ARITHMETICAL -> Y[i] = X + i.DX
TYPE=1 or TYPE=GEOMETRICAL -> Y[i] = X . DXi
with: i = 0, 1, .., N-1

Navigation menu

Personal tools