Returns the rows of x with the numbers which are stored in i. This function is defined for matrices and signals. If x is a signal the row 0 is the abscissae vector, row 1 is the first ordinate, and so on.
Syntax
extract(x,i)
Types
| Variable Name | Value Type | Variable Type | ||
|---|---|---|---|---|
| Arguments: | x | real, complex | matrix, signal, xy-data | |
| i | real | scalar, vector | ||
| Result: | v | real, complex | vector, matrix | |
Calculator Input
Use the button to complete the operation.
Examples
| ID | Description | Type | Value | Expression | |
|---|---|---|---|---|---|
| x | REAL MATRIX | 
                                         
                                              | [[2,3,4],[3,4,5]] | ||
| i | REAL | 1 | 1 | ||
| v | Result | REAL VECTOR | 
                                         
                                              | extract(x,i) | |
| ID | Description | Type | Value | Expression | |
|---|---|---|---|---|---|
| x | REAL SIGNAL | 
                                          
                                     | signal([1,2,3],[2,3,4],[3,4,5]) | ||
| i | REAL VECTOR | 
                                         
                                              | [0,1] | ||
| A | Result | REAL MATRIX | 
                                         
                                              | extract(x,i) | |
