Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 66779

Array Increment and reshape and extract numbers from it

$
0
0

I have two arrays first array contains number from 0 to 15 and  second array data varies from 0 to 15

My requirement is 

when I am extracting number 0 and 1 from array 1 then my second array should take values from 2 to 15 and extract number in pairs from array 2 such as (2,3),(3,4)(4,5)(5,6)(6,7)(7,8)(8,9)(9,10)(10,11)(11,12)(12,13)(13,14)(14,15) after completing this 
 I am extracting number 1 and 2 from array 1 then my second array should take values from 3 to 0 and extract number in pairs from second array such as (3,4)(4,5)(5,6)(6,7)(7,8)(8,9)(9,10)(10,11)(11,12)(12,13)(13,14)(14,15)(15,0) after completing this
 I am extracting number 2 and 3 from array 1 then my second array should take values from 4 to 1  and extract number in pairs from second array such as (4,5)(5,6)(6,7)(7,8)(8,9)(9,10)(10,11)(11,12)(12,13)(13,14)(14,15)(15,0)(0,1) after completing this procedure of extracting numbers it should repeat upto last extraction of number from array 1 that is (15,0) and accordingly extraction of numbers from second array should be done I used indexed array for extracting numbers from array  but for rest of the code i am not getting what logic should i implement.

NOTE:I am not using bracket in my code I used here in my question for better understanding of my question

Thank u


Viewing all articles
Browse latest Browse all 66779

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>