Vector Slices

The vector slice operator extracts entries of the vector x, starting at index (index of first vector component would be ) with incrementation of elements till the last index was reached.

  • : the 1st index of the slice.

  • : the last index of the slice.

    Negative entries defining the index to the end of the vector: -1 is the second last element of the vector

  • : the increment, might also be negative.

Syntax

Types
 Variable NameValue TypeVariable Type
Arguments: x real, complexvector

realscalar

realscalar

realscalar
Result:  real, complex vector
Calculator Input

Use the [] button to complete the operation.

Example
IDDescriptionTypeValueExpression
xArgumentREAL VECTOR

[0,1,2,3,4]

ArgumentREAL11

ArgumentREAL44

ArgumentREAL22
z1 Result REAL VECTOR

x[istart : iend : nstep]
z2 Result REAL VECTOR

x[1 : -1 : 1]