Community Profile # rotton

10 total contributions since 2018

View details...

Contributions in
View by

Question

How to get algebraic solution and symbolic Jacobian of this simple equation?
I am trying to simplify this set of algebraic equations. Then, I would like to have Matlab calculate the Jacobian for me. But it...

8 days ago | 0 answers | 0

### 0

Time dependent parameters in ode
Here is MathWorks official answer, and the corresponding paragraph from ode45 documentation. Note that interp1 does linear inte...

23 days ago | 0

Question

How to use max inside Simulink Fcn block?
In my Simulink sheet, I have a Fcn block which does a very simple calculation from its input: u(36)/u(38)*u(39) Since the inpu...

2 months ago | 1 answer | 0

### 1

Question

Why is nonlinear inequality constraint not respected by fmincon?
The following script uses fmincon for minimization and works as expected: % Feeding optimization over time, with algebraic mode...

8 months ago | 0 answers | 0

### 0

Question

Why is optimization involving ODEs so much slower than with a purely algebraic objective function?
Consider this optimization script, which is a very much boiled down version of something I am currently working on: % Parameter...

9 months ago | 0 answers | 0

### 0

Question

How to get only one or two output times from ODE solver?
I am programming a nonlinear optimization, during which an ODE is solved multiple times at each objective function call. So I wo...

10 months ago | 1 answer | 0

### 1

Question

What is causing Invalid variable 'conjugate(B(t))' in Symbolic Math Toolbox?
While trying to solve a DAE system with Symbolic Math Toolbox, I keep getting the same error. Unfortunately, the error message d...

11 months ago | 1 answer | 0

### 1

Question

Why do MINLP solvers have such a hard time with this simple problem?
I am trying to solve a global optimization problem, belonging to the category of MINLP (mixed-integer nonlinear programming). ...

1 year ago | 0 answers | 0

### 0

Question

How to dynamically manipulate input variables during simulation from within Simulink M-code S-function?
In Simulink, I am trying to setup the following problem: An ODE which right-hand side is depending on a discrete input value. ...

1 year ago | 0 answers | 0