Community Profile

photo

Jason MacNaughton


Last seen: 3 years ago Active since 2019

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


Transforming a 3-D array into a 2-D by sorting by the 2nd layer, then removing zeros
I have made a 3-D array by iterating through 3 loops where the number of occurances in the last loop is different for each loop1...

4 years ago | 0 answers | 0

0

answers

Question


Detecting length and number of occurrences in a logical array
EX: array1 = [0 0 0 0 0 1 1 1 1 0 0 1 1 0 0 0 0 1 1 1 1 1 1 0 0 0 1] I want to extract the number of times of consecutive 1's ...

4 years ago | 3 answers | 0

3

answers