Community Profile

photo

MJ


9 total contributions since 2013

Contact

MJ's Badges

  • First Review
  • Thankful Level 2

View details...

Contributions in
View by

Question


How to run an optimization that always checks the nonlcon?
In my objective function, there is a 'mvnrnd' function which generates random numbers. So I need a covariance matrix for mvnrnd....

4 years ago | 1 answer | 0

1

answer

Question


How to make this code faster?
I have coded a formulation using for loops but it takes forever when my matrices are very large. Can anyone help me make this co...

6 years ago | 1 answer | 0

1

answer

Question


How to partition a matrix into components that are independent?
I'm going to partition a symmetric matrix (covariance matrix) into columns/rows that are independent. Any help is appreciated. ...

7 years ago | 2 answers | 0

2

answers

Question


rng is slow (to control random number generation). Can I go back to seed, or state?
I've been using 'rng' to control sets of random numbers in my large simulation-optimization problem. I was trying to find speed ...

7 years ago | 0 answers | 1

0

answers

Question


Best global optimization solver for a logistic function form
My objective function has a logistic form and I'm trying to find a good solver to minimize it. I've tried fmincon, fminunc, ga, ...

7 years ago | 1 answer | 1

1

answer

Question


Misunderstanding about the number of trial points in Globalsearch
I check both pages http://www.mathworks.com/help/gads/globalsearch-class.html and http://www.mathworks.com/help/gads/how-globals...

7 years ago | 1 answer | 0

1

answer

Question


Visibility of a simple 'plot' on tip of a 'surface'
I have a surface and am going to put a simple plot (which is a line connecting a few dots) on top of the surface. How can I do t...

7 years ago | 1 answer | 0

1

answer

Question


How to merge different customized figures together?
I am going to draw several figures and merge them together. Below is the codes that I have for one of the figures; the others ar...

7 years ago | 1 answer | 0

1

answer

Question


How to do a simple elementwise logic in a matrix?
Let's say I have A=[1 0.5 2; 0.5 1 1; 3 1 0.5]; I need to create a new matrix (with the same size as A) in which elements of ...

7 years ago | 1 answer | 0

1

answer