Community Profile

photo

MC


Active since 2017

Followers: 0   Following: 0

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Feeds

View by

Question


Memory use 5-D matrix
I'm trying to use 5-D matrices in Matlab (version 2012B) but I run out of memory. Following Matlab help section I created a file...

5 years ago | 1 answer | 0

1

answer

Question


Disable save dialog in Simulink
Hello! I'm wondering if it's possible to programmatically disable the Save dialog which popups when you close a Simulink model? ...

6 years ago | 0 answers | 0

0

answers

Question


MinMax does not accept 'boolean' signals
As the title say, I get this error. Can this be solved somehow or do I need to re-do the model in some other way? This error occ...

6 years ago | 1 answer | 0

1

answer

Question


Loading model into older version of Simulink
Hello. I am loading a Simulink model created using Matlab 2015b into the older version of Simulink which comes with Matlab 2011b...

6 years ago | 1 answer | 0

1

answer

Question


Interpolating a three point curve at any angle using cubic splines
I'm trying to interpolate a curve using cubic splines and three points in the x-y plane. I have some troubles finding the equati...

6 years ago | 1 answer | 0

1

answer

Question


maximizing the norm of a matrix using fmincon
Hello! I am trying to find the maximum of ||A(z)||_2. A(z) is a n x n real matrix. Each entry in this matrix consists of some no...

6 years ago | 1 answer | 0

1

answer

Question


Scaling a spline in MATLAB
Hello I have a spline that I've created using pchip. Now I want two other splines, one scaled down version of the original and ...

7 years ago | 1 answer | 0

1

answer

Question


Circular constraint matrices in a Model Predictive Control application
Hello I need some help constructing the Q,l and r matrices for a circular constraint using cplexqcp in an MPC application. I'm ...

7 years ago | 0 answers | 0

0

answers

Question


Remove duplicate rows from matrix
Hello I have a 2xN matrix where each column represent the x and y coordinates of a 2D point. I need to remove any duplicate poi...

7 years ago | 1 answer | 1

1

answer

Question


Re-write MPC cost function to QP formulation
Hello! I've been trying to make a simple script to re-write the cost function in the usual MPC formulation to the QP formulat...

7 years ago | 1 answer | 1

1

answer

Answered
Odd (\\\r\n) output from symbolic multiplication
Thanks for the answers guys! Though these string operations doesn't seem to work on my symbolic expressions

7 years ago | 0

Question


Odd (\\\r\n) output from symbolic multiplication
Hello! So i'm doing some symbolic multiplication and the resulting expression output is quite long. However it includes one p...

7 years ago | 3 answers | 1

3

answers

Question


Providing gradient using fmincon in an Model Predictive Control context
Hello I've set up a nonlinear MPC problem in Matlab. I'm using Fmincon as the solver which is extremely slow. Looking at the ...

7 years ago | 1 answer | 0

1

answer

Question


Nonlinear MPC using fmincon. Very slow
Hello! I've set up a nonlinear MPC problem with a nonlinear model. The model has 7 states and 5 inputs. Doing a "Run and time...

7 years ago | 0 answers | 2

0

answers

Question


Linearize model at each step in the prediction horizon (MPC)
Hello I trying to implement an MPC scheme where the (nonlinear) model will be linearized at each step in the prediction horiz...

7 years ago | 0 answers | 0

0

answers

Question


I seem to be missing some example files
I am specifically looking for the file in this example: https://mathworks.com/help/mpc/examples/nonlinear-mpc-control-of-an-e...

7 years ago | 1 answer | 1

1

answer