Community Profile

# winkmal

Last seen: Today Attivo dal 2018

Programming Languages:
Python, MATLAB
Spoken Languages:
English, German, Spanish
Professional Interests:
Numerical Integration and Differential Equations, Modeling and Prediction, Renewable Energy

#### Content Feed

Visto da

Domanda

How to precisely place textarrow?
Inside a plot, I want to place several textarrows to mark specific events on the timeline. However, their placement is not very ...

3 mesi fa | 1 risposta | 0

### 1

risposta

Risposto
How to handle discrete, non-periodic right-hand side of ODE in Matlab
Since this was inspired by the valuable comment of Walter Roberson to my original answer, I am posting this solution as a separa...

oltre 2 anni fa | 0

| accettato

Risposto
How to handle discrete, non-periodic right-hand side of ODE in Matlab
After some research, I've found MathWorks official answer, and the corresponding paragraph from ode45 documentation. Note that i...

oltre 2 anni fa | 0

Domanda

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

circa 3 anni fa | 1 risposta | 0

### 1

risposta

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

circa 3 anni fa | 0

Domanda

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

circa 3 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

oltre 3 anni fa | 0 risposte | 0

### 0

risposte

Domanda

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

circa 4 anni fa | 0 risposte | 0

### 0

risposte

Domanda

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

circa 4 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

circa 4 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

oltre 4 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

oltre 4 anni fa | 0 risposte | 0

### 0

risposte

Domanda

How to handle discrete, non-periodic right-hand side of ODE in Matlab
I am trying to migrate an existing Simulink simulation to pure Matlab, which is necessary for several reasons. It is a stiff sys...

oltre 4 anni fa | 3 risposte | 0

risposte