photo

MP


Active since 2018

Followers: 0   Following: 0

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Feeds

View by

Question


If I have a list of numbers how can I enter a 1 in a matrix position with the list of numbers
My list of numbers is 1690 numbers long with random numbers list = [ 1, 2, 3, 4, 6, 7, 9...] My initial matrix is zeros ...

mer än 6 år ago | 1 answer | 0

1

answer

Question


How do I take a matrix of x,y values and insert in a value 1 in a square matrix? For instance in a Mat = 4 x 4 matrix of zeros and the matrix XY = (1,2) (3,4). How do I enter a 1 into (1,2) and (3,4)?
How do I take a matrix of x,y values and insert in a value 1 in a square matrix? For instance in a Mat = 4 x 4 matrix of zeros a...

mer än 6 år ago | 1 answer | 0

1

answer