Community Profile

photo

Doron


Active since 2012

Professional Interests: First passage times of bounded walks

Statistics

  • Thankful Level 3

View badges

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

12 years ago | 1 answer | 0

1

answer

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

12 years ago | 1 answer | 0

1

answer

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

12 years ago | 1 answer | 0

1

answer

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

12 years ago | 1 answer | 0

1

answer

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

12 years ago | 2 answers | 0

2

answers

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

12 years ago | 5 answers | 1

5

answers

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

12 years ago | 5 answers | 4

5

answers

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

12 years ago | 1 answer | 0

1

answer

Question


Creating a new variable in each iteration...
I want to create a new variable in each iteration of a for loop... x_1, x_2, x_3, etc... up to x_50 count = 0; for i = ...

12 years ago | 2 answers | 0

2

answers