Community Profile

photo

Edward


Active since 2014

Followers: 0   Following: 0

Message

Statistics

Feeds

View by

Question


How can I create vectors of all the non-zero strings of numbers in a vector?
Given a vector that looks something like [0 0 3 4 2 2 0 0 1 0 0 2 4 0], how can I pull out the nonzero values to get three vecto...

10 years ago | 1 answer | 0

1

answer