Community Profile

photo

Mark


Active since 2014

Followers: 0   Following: 0

Message

Statistics

Feeds

View by

Question


How can I eliminate unwanted zeros from a matrix?
e.g I want to make this: 1,1,1,1,0,0 1,1,0,0,0,0 1,0,0,0,0,0 1,1,1,1,1,0 into this: 1,1,1,1 1,1 1 ...

10 years ago | 2 answers | 3

2

answers

Question


How do you store variables atfer each iteration of a for loop to use later?
I'm running a for loop , and each time I run through the loop at the end I want to store two variables (arrays) to be used later...

10 years ago | 1 answer | 0

1

answer