photo

Charlotte Mason


Attivo dal 2017

Followers: 0   Following: 0

Statistica

  • Thankful Level 1

Visualizza badge

Feeds

Visto da

Domanda


run a function with 2 outputs multiple times
I'm sorry if this has been asked before, but I can't find any questions which give a simulation printing 2 different outputs fro...

oltre 7 anni fa | 1 risposta | 0

1

risposta

Domanda


I want to randomly select from a list of rows from a matrix to change the values
I have a matrix B of 0's and 1's, and I have selected the rows and columns that contain the 1's. I now want to randomly choose s...

oltre 7 anni fa | 1 risposta | 0

1

risposta

Domanda


I need to count the numbers from a vector to form a new vector, so I need to use (2, 3, 1) to get (1, 1, 2, 2, 2, 3). How do I do this?
I have a vector which contains the values of the degrees for each node, so nodes (1, 2, 3) have degree (2, 3, 1) respectively. I...

oltre 7 anni fa | 1 risposta | 0

1

risposta