VALID function
Interest
The Valid function allows creating square wave signals.
Definition
The VALID(X,X1,X2) function returns:
- 1, if X is in [X1 , X2]
- 0, otherwise
Note:
- The arguments X1 or X2 can be omitted.
In this case, X1 is replaced by -∞ and X2 by +∞.
- The arguments X and X1 and X2 can be formulas.
Operation mode
In case of transient application, it is also possible to define a rectangular pulse function described in the figure below.
Create an I/O parameter: PE = VALID(TIME, T1 , T2)
where:
- TIME is the parameter time
- T1 is the instant of the pulse start
- T2 is the instant of the pulse end
Example
An example of the VALID function is presented below.
A Rump function truncated by a gate function: RP(t) = t* VALID (t,10,20)