photo

Dhruv Thakkar


Last seen: 3 years ago Active since 2017

Followers: 0   Following: 0

Statistics

  • Thankful Level 2
  • First Answer
  • Thankful Level 1

View badges

Feeds

View by

Question


Replacing for loop with matrix math to increase computational efficiency.
I am using the following code to compute the Sx, Su, Sw and Sd matrices. But I have found out them to be very computationally ex...

4 years ago | 1 answer | 0

1

answer

Answered
Simulink Model Predictive Control
Hey, have you tried reducing the timestep and tuning the prediciton horizon and control horizon. And if its a MIMO system try tu...

4 years ago | 0

Question


MATLAB crashes while running mex function
When I try to run a mex function, MATLAB crashes. I first built the fucntion using mex function and then I used the function it ...

4 years ago | 0 answers | 0

0

answers

Question


MPC cannot be designed in app
I have a Carsim S-functon as the plant model for a MPC. But I get an error saying "Plant model cannot be a pure direct feed-thro...

4 years ago | 3 answers | 0

3

answers

Answered
How can I create an MPC plant model for a nonlinear state space model?
You can use an adaptive model predicitve controller to handle the nonlinearity of the system. If the Simulink function has a pro...

4 years ago | 0

Answered
'Error in port widths or dimensions' for using Adaptive MPC controller
You can use Signal Dimension block to mention the dimension as [5 2] to ensure that there is no discrepency.

4 years ago | 0

Question


Error file output dimensions
I am trying to create an Adaptive Model Predictive control to hold a pendulum at a certain angle (theta), assuming a rotory actu...

5 years ago | 1 answer | 0

1

answer

Question


polyeig gives different eigen values for the same matrices.
I am trying to find eigen value for a system with the Global mass, stiffness and damping matrix. There are two sets of matrices ...

5 years ago | 1 answer | 0

1

answer

Question


For loop is taking a lot of time to execute.
I have to change four diagrams during the execution of one for loop. I'm using subplot to plot all the diagrams in one. But the ...

7 years ago | 0 answers | 0

0

answers