J T


Aktiv seit 2016

Followers: 0   Following: 0

Statistik

  • Thankful Level 1

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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...

etwa 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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 ...

etwa 8 Jahre vor | 2 Antworten | 1

2

Antworten

Frage


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...

etwa 8 Jahre vor | 1 Antwort | 1

1

Antwort

Beantwortet
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...

etwa 8 Jahre vor | 0

Frage


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...

etwa 8 Jahre vor | 2 Antworten | 0

2

Antworten