Community Profile # Hendrik Lorenz

14 total contributions since 2015

View details...

Contributions in
View by

Question

Problem with _plus() and symbolic differentiation
I define a symbolic expression (dx_3dt) and make an assumption that reduces that expression to one term. By this the function _p...

1 year ago | 1 answer | 0

### 1

Question

I am trying to build a simulink file in Matlab 2019a. The build is successful in 2018b. But in 2019a I get the error: Error us...

1 year ago | 0 answers | 0

### 0

Check IN WHICH CASE symbolic logical expression is true
Well what I stated is true: c > 0 if b >= 0 Although it is not true that b >= 0 if c > 0 right. But you got what I meant. ...

1 year ago | 0

| accepted

Question

Check IN WHICH CASE symbolic logical expression is true
Is it possible to get the conditions under which an expression would be true. Example: syms a b c assume(a > 0) c = a+ b isA...

1 year ago | 2 answers | 0

### 2

Question

Dsolve for two point boundary value problem
Can dsolve of Matlab 2019a solve the following system of differential equations (BVP): With the following BC: (T= 60) I...

1 year ago | 0 answers | 0

### 0

Question

Print from C file into Command window via MexFile
I am executing a C function via a mex file in Matlab. I understood that I can output messages from the mex file using mexPrintf ...

1 year ago | 1 answer | 0

### 1

Array of symbolic functions with index but "same" variable name
Found a work around, though still open for a more elegant solution: clear all t = sym('t') reset(symengine) % syms 'xVec_%d(...

1 year ago | 0

Question

Array of symbolic functions with index but "same" variable name
I want to generate an array of symbolic expressions depending on variable t: clear all reset(symengine) syms 'x_%d(t)' [6, 1]...

1 year ago | 1 answer | 0

### 1

Question

Live script output shortened by 'where'
When I run a live script with symbolic expressions that have long terms the output is shortened by the introduction of new varia...

1 year ago | 0 answers | 0

### 0

Question

Symbolic expression with matrix input and output
I want to symbolically define a matrix weighted norm like this: Obviously I do not want to hard code the dimensions of vector...

1 year ago | 1 answer | 0

### 1

Question

Jumping between consecutive states in a stateflow chart
Hey all, I want to implement a user decision support system in stateflow where the user is asked a sequence of questions and ...

2 years ago | 0 answers | 0

### 0

Stateflow: Flow chart with user input while running
Found an answer to that question. The example "Modeling a Fitness Watcher" gave me a pretty good idea of how to do what I descr...

2 years ago | 0

| accepted

Question

Stateflow: Flow chart with user input while running
Hi all, I have the following problem: I want to simulate a flow chart in Stateflow. Some transitions in this flow chart depend...

2 years ago | 1 answer | 0