SetZoneWidths('Vector','Widths','Offset')
Arguments
|
'Vector' |
Vector with (measured) values of the result vector |
|
'Widths' |
Vector containing zone widths as values |
|
'Offset' |
Distance of the zone center of the first zone from the zero line |
Description
This function creates a vector with specified zone widths. In doing so, the values of the result vector are taken from a vector 'Vector' and the zone widths from a vector 'Widths'. Since the vector with the zone widths can use expressions as arguments, this function can be used to generate vectors with different zone widths depending on the loaded data. The expressions for defining the zone widths should be constant over time and not change for data loaded once. If this is not the case, the width values will be averaged over the overall period.
Example
The function SetZoneWidths (MakeVector(1,2,3,2,1),MakeVector(2,4,10,4,2), -10) creates the same vector as the one that was created with the logical expressions.
For more information, see Logical expressions .