Replace Subset

Description

Replaces an element or subarray in a n-dimensional array at the point you specify in index. Type : Polymorphic.

 

Documentation illustration (illustration unavailable in the archive).

Input parameters

 

Documentation illustration (illustration unavailable in the archive). array : class, is the n-dimensional tensor in which you want to replace an element(s), row(s), column(s), or page(s).
Documentation illustration (illustration unavailable in the archive). index : array, specifies where the element, row, column or page is to be replaced in the table.
Documentation illustration (illustration unavailable in the archive). new subarray : class, the n-dimensional tensor that replaces an element, row, column, or page (same dimension as input “array“).

Output parameters

 

Documentation illustration (illustration unavailable in the archive). output array : class, returns the n-dimensional tensor with the replaced element(s), row(s), column(s), or page(s).

Examples

All these examples are snippets PNG, you can drop these Snippet onto the block diagram and get the depicted code added to your VI (Do not forget to install Accelerator library to run it).

Documentation illustration (illustration unavailable in the archive).