Introduction:
Quick and simple demonstration of using auto-indexing to act on elements of a 2-D array and populate a new array.
Description:
User initializes a 2-D array x(t), and sets a constant timestep dt. The VI parses each column and produces dx/dt columns which auto-index to populate a new 2D array. VI checks for values of 0 to account for columns of variable length, and automatically sets their derivatives to 0 to make them identical to empty array cells, avoiding erroneous entries at the end of the column. The Transpose Array VIs are included to demonstrate reading 2D arrays by column rather than by row as default.
Each value is compared to the previous value in the array, and divided by dt. The initial value is hardcoded to 0.
