J T


Active since 2016

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


Change all but one value to one at random within rows
Suppose I have the following matrix [ 1 0 1 1 0; 0 1 1 0 0; 1 1 1 0 0; 0 0 0 0 0 ; 0 1 0 0 0] _If_ a particular row co...

8 years ago | 1 answer | 0

1

answer

Question


replace zeros according to distribution of integers in each column
if I have some matrix x of randomly distributed values (value 0 to n = 5 or 10 in this case) x = [binornd( 5, 0.05, 10000, 1 ...

8 years ago | 2 answers | 1

2

answers

Question


convert vector into 'matrix equivalent'
I have a vector of binomially distributed random numbers from i = 0 to n eg R = [0 1 2 1 4]' I want to convert this this int...

8 years ago | 1 answer | 1

1

answer

Answered
summing logicals i times where i is taken from a matrix of integers
I think that's probably genius and I'll test it to make sure I get the right exponential recoveries in my Monte Carlo simulation...

8 years ago | 0

Question


summing logicals i times where i is taken from a matrix of integers
I have a matrix of integers R and some sort of critical value crit = 0.395 depending on the value of any integer (i) in...

8 years ago | 2 answers | 0

2

answers