Community Profile

photo

Prateek Tiwari


Last seen: 3 years ago Active since 2020

Statistics

  • Thankful Level 1
  • First Answer

View badges

Content Feed

View by

Question


Constraints on time in Model predictive controller (MPC)?
Hello, I am bit familiar with MPC and optimization routine by defining the cost function. My question is, generally we see MPC...

3 years ago | 0 answers | 0

0

answers

Question


Calling a Function in Matlab function block in Simulink.
Hello, I want to call a function from a defined directory inside a matlab function block. I know that it can be done using 'co...

3 years ago | 1 answer | 0

1

answer

Answered
Codegen saying variable is constrained to being non-complex when it's defined as complex
Hi erveryone, I need to post this question here, because no one responds to the question i have asked in the past. Sorry for tha...

4 years ago | 0

Question


Complex Data type not accepted in Simulink
Hello Everyone, I am having an issue with the interaction of matlab function block in the simulink with my model block. Below y...

4 years ago | 0 answers | 0

0

answers

Question


To compute complex results from real x, use 'sqrt(complex(x))
A= [exp(sqrt(-w1/w2)*t) , exp(-sqrt(-w1/w2)*t) ] I have this matrix with w1,w2 as contant and t is the time update every instan...

4 years ago | 1 answer | 0

1

answer