Community Profile

# Doron

Active since 2012

Professional Interests: First passage times of bounded walks

#### Content Feed

View by

Question

creating a vector of independent random cauchy variables...
I would like to create a "1000000 length" vector of cauchy random variables... The code for one cauchy random variable, x, is...

10 years ago | 1 answer | 0

### 1

Question

Uniques giving duplicates (unresolved)
I created a matrix P, and I incremented the values in first column using a for loop... "for X = 0.9:0.025:1..." After plot...

10 years ago | 1 answer | 0

### 1

Question

"uniques" giving duplicates... Matlab adding a tiny sum?
When I look for the unique values of P in column 1, i get a duplicated 0.975... Somewhere along the line, Matlab probably dec...

10 years ago | 1 answer | 0

### 1

Question

Why is vertcat slowing things down?
In the code below, 10,000 repetitions takes 2 seconds... and 100,000 repetitions takes 60 seconds! (I was expecting 20 second...

10 years ago | 1 answer | 0

### 1

Question

Does "sortrows" not work with a semicolon?
Could someone clarify this issue I am having? I tried to sort the rows of a matrix by the first column (in descending order)....

10 years ago | 2 answers | 0

### 2

Question

changing the style in a loop with hold all...
In a loop, "hold all" successively changes the colour of the lines in a plot... But, this is not so useful to me because: ...

10 years ago | 5 answers | 1

### 5

Question

How do I create a legend and include loop variable values in the labels?
I created the matrix P with 400 rows, 3 columns (which I call X, Y and Z). The variables in each row are related by a simple ...

10 years ago | 5 answers | 4

### 5

Question

Splitting a matrix into smaller matrices...
I have a matrix 1000x3 matrix P which can be generated with the following code: (I call the columns of P: X, Y and Z) P =...

10 years ago | 1 answer | 0