Community Profile # Lenilein

##### Last seen: 3 months ago
20 total contributions since 2019

View details...

Contributions in
View by

Question

Create all combinations of a vector
Hello, I need your help to write down the different possible combinations of a vector x used as input for my model. Basically ...

11 months ago | 1 answer | 0

### 1

Question

Extracting elements from a matrix
Hello, I have a column matrix A with 50 elements and a small column matrix B with 5 elements. I would like to determine the val...

11 months ago | 1 answer | 0

### 1

Question

Number of variables vary in function definition
Hello, I tried looking at following problem under all angles but couldn't find a solution: I have a matrix A with n number of r...

1 year ago | 1 answer | 0

### 1

Question

Obtain 2nd and 3rd best solution of an optimization problem with Genetic Algorithm
Good Morning, I am using genetic algorithm to solve a MINLP problem and it works fine so far since I get the minimum value for ...

1 year ago | 0 answers | 0

### 0

Condition on optimization variable
After the little research I was able to figure out the solution: I can define a new Matrix B=abs(A-1) which I then integrate as...

1 year ago | 0

| accepted

Question

Condition on optimization variable
Dear Community, I am trying to solve an optimization problem (below) with the optimization variable x which elements can be eit...

1 year ago | 1 answer | 0

### 1

Question

Mysterious "Operands to the || and && operators must be convertible to logical scalar values." error
Hello dear community, I'm getting following error quite unexpectedly (since I don't have any && or || in my code) while trying ...

1 year ago | 3 answers | 1

### 3

Question

Expressing non-linear conditions in an NLP optimization problem
Dear Community, I would like to solve following NLP optimization problem (for example with the fmincon function): My objective...

1 year ago | 1 answer | 0

### 1

Question

linear ODE as a constraint within an milp problem
Good Morning, I have a syntax question regarding a milp problem that I would like to solve with intlinprog function: My object...

1 year ago | 1 answer | 0

### 1

Question

Conversion to logical from optim.problemdef.OptimizationConstraint is not possible. Expressing a condition for a parameter.
Hello, I am trying to formulate an mixed integer optimization problem and one of my parameters (say A) depends on my optimizati...

1 year ago | 1 answer | 0

### 1

Question

Maths / ODE / Why do I get complex results?
Hello dear Matlab Community, I have a question that is a more a mathematics- than a MATLAB question but since I spent whole day...

1 year ago | 1 answer | 0

### 1

Question

Syntax Question struct array - Unexpected MATLAB operator.
Hello, I have been trying to reorganize my variables & parameters into struct arrays in order to group all corresponding to a s...

2 years ago | 1 answer | 0

### 1

Question

Choice of Database for smooth data import into Matlab
Good Afternoon, I would like to store my input data in a Database external to matlab. Any recommendation regarding the type of ...

2 years ago | 1 answer | 0

### 1

Question

Optimization&ODE problem // Symptom: Index exceeds matrix dimensions (here we go again!)
Dear Community, Since your help brought me so much forward, I have become more and more ambitious! Right now I am trying my han...

2 years ago | 1 answer | 0

### 1

Question

Syntax question - renaming a variable
Dear Community, I have a very basic syntax question: I defined up=y(1) because I wish that matlab evaluates the diff(up) for e...

2 years ago | 1 answer | 0

### 1

Question

Index exceeds matrix dimensions.
Hello dear Matlab Community, I would like to request your help again (it's really difficult to resist, seeing how helpful you w...

2 years ago | 1 answer | 0

### 1

Question

Index exceeds matrix dimensions.
Dear All, Can someone enlighten me by explaining why I'm getting following error message in code below? Index exceeds matrix d...

2 years ago | 1 answer | 0

### 1

Question

Solving a system of ODE over different intervals (with different conditions on parameters)
Good Evening dear Matlab Community, Now that my first part of code works, I have the ambition to make it a little complicated b...

2 years ago | 1 answer | 0

### 1

How to solve a system of two paired differential equations
Good Morning, Thanks for giving an answer to my questions and pointing out ODE EventLocation, I think that is what I was lookin...

2 years ago | 0

Question

How to solve a system of two paired differential equations
Good Evening, After several hours of unsuccessful wandering through the jungle of matlab posts, I decided to call for help re...

2 years ago | 3 answers | 0