|
The Vector Rescaler block rescales the elements of the input vector by applying
additive and multiplicative factors to each element. The block has different factors
for each element.
Inputi is rescaled according to this formula, where Ai is the additive
factor for that element and Mi is the multiplicative factor for that element:
Making Values Permanent
When you choose make permanent from the block's menu, it saves the current
scaling factors.
Configuring
When you choose configure from the block's menu, NOL displays this dialog,
which lets you enter the dimension of the vector to rescale:
|
Enter a number for Vector Dimension, and select the Edit Scale Factors button to
display the spreadsheet for rescaling the vector.
|
Enter values in the Additive and/or Multiplicative columns to add values to the
current index and/or multiply values by the current index.
Example
These are the scale factors for a four-element vector.
|
Here is an example of how it scales a vector.
|
See Also
For more information on how to use this block, see the pages below.
| Click here for more information... |
|---|
|
Basic Block Behavior
|
|
Saving a Block's Data After Resetting G2
|
|
Vector Function
|
| Prev
| Next | Start of Chapter | End of Chapter | Contents | Index | (12 out of 18)
Copyright © 1996, Gensym Corporation, Inc.