STEPS

From STX Wiki
< Programmer Guide‎ | SPU Reference
Revision as of 14:05, 17 May 2010 by 193.171.195.8 (talk) (initial import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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