The window(S,astart,aend) function returns that part of the signal S between the first abscissa value less than or equal to astart and the last abscissa greater than or equal to value aend. This function is defined for sorted signals.
Syntax
window(S,astart,aend)
Types
Variable Name | Value Type | Variable Type | ||
---|---|---|---|---|
Arguments: | S | real, complex | signal, xy-data | |
astart | real | scalar | ||
aend | real | scalar | ||
Result: | real, complex | signal, xy-data |
Calculator Input
Use the
button to complete the operation.Example
ID | Description | Type | Value | Expression | |
---|---|---|---|---|---|
S | Argument | REAL SIGNAL | signal([1,2,3,4,5],[2,3,4,5,6],[3,4,5,6,7]) | ||
a | Argument | REAL | 2 | 2 | |
b | Argument | REAL | 4 | 4 | |
Sab | Result | REAL SIGNAL | window(S,a,b) |