photo

Ara Jo


Last seen: 2 years ago Active since 2020

Followers: 0   Following: 0

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Feeds

View by

Question


How to integrate for each row of parameters in a matrix, rather than using a loop
Hello, I have been the following code to calculate an integral: Price = @(z, pg0, pf0, epsilon) ... (pg0.^(1...

3 years ago | 1 answer | 0

1

answer

Question


fsolve, fmincon producing different results
Hi, I am wondering how to think about fsolve and fmincon producing different results when solving the same system of nonlinear ...

3 years ago | 2 answers | 0

2

answers

Question


How to modify a uniform distribution to make a custom distribution?
Hello, I am trying to write down a custrom distribution function that essentially motifies slightly a uniform distribution. Fo...

3 years ago | 1 answer | 0

1

answer

Question


How to store results from a function?
Hello, I'm using fminsearch to find parameters (para) that minimize the objective function. To exaplain, I have the following l...

3 years ago | 1 answer | 0

1

answer

Question


How to replace elements in a matrix using logical
Hello, I would like to set some columns to zero for certain rows indicated by a logical. For instance, if we have a matrix X ...

4 years ago | 1 answer | 0

1

answer

Question


convert a 3D matrix to a 2D matrix
Hello, I'm trying to convert a A by B by C matrix (3D) into a A*C by B matrix (2D). But I need the column (with A*C elements) t...

4 years ago | 2 answers | 0

2

answers

Question


How to collapse within a column vector
Hello, I am trying to collapse a long column to a shorter one by suming across elements. For instance, if I have: x = ...

4 years ago | 2 answers | 0

2

answers