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

11 maanden ago | 1 answer | 0

Question

simulink.h missing in 2019a

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

11 maanden ago | 0 answers | 0

Answered

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

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

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

11 maanden ago | 2 answers | 0

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

12 maanden ago | 0 answers | 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 ...

12 maanden ago | 1 answer | 0

Answered

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

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

12 maanden 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]...

12 maanden ago | 1 answer | 0

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

12 maanden ago | 0 answers | 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...

12 maanden ago | 1 answer | 0

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

bijna 2 jaar ago | 0 answers | 0

Answered

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

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

bijna 2 jaar 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...

bijna 2 jaar ago | 1 answer | 0

Question

Reversing plot data to fit experimental to simualtion data

I am plotting two graphs as shown in the pic, but one is drawn with an inversed x-coordinate system. I guess it's pretty clear f...

meer dan 4 jaar ago | 1 answer | 0