SHIFT Function

Shifts the elements of a vector or array along any dimension by any number of elements.

Usage

Input Parameters

Returned Value

Keywords

Discussion

Sample Usage

Example 1




Example 2

Figure 2-111 The SHIFT function described above has been used with this 512-by-512 mandrill image for edge enhancement. Notice how the dark edges to the left of each feature in the image are highlighted by using SHIFT with a positive number for the first parameter (which causes the image to be shifted to the right).

Figure 2-112 The SHIFT function described above has been used with this 512-by-512 mandrill image for edge enhancement. Notice how the dark edges to the left of each feature in the image are highlighted by using SHIFT with a positive number for the first parameter (which causes the image to be shifted to the right).
Figure 2-113 Notice how the dark edges to the southwest of each feature in the image are now highlighted by using the SHIFT function with a positive number for the first and second parameter (which causes the image to be shifted both up and to the right).

Figure 2-114 Notice how the dark edges to the southwest of each feature in the image are now highlighted by using the SHIFT function with a positive number for the first and second parameter (which causes the image to be shifted both up and to the right).

See Also





doc@boulder.vni.com
Copyright © 1999, Visual Numerics, Inc. All rights reserved.