Community Profile

photo

Quinlin Hamill


Active since 2016

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


How can I make a random array with values of either -1 or 1?
I'm trying to use randi to make a matrix filled with either -1 or 1 however randi also includes 0s.

7 years ago | 2 answers | 0

2

answers