Community Profile

photo

MC


Aktiv seit 2017

Statistiken

  • Thankful Level 2
  • Thankful Level 1

Abzeichen anzeigen

Content Feed

Anzeigen nach

Frage


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

etwa 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 7 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

fast 7 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


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

fast 7 Jahre vor | 1 Antwort | 1

1

Antwort

Beantwortet
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

fast 7 Jahre vor | 0

Frage


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

fast 7 Jahre vor | 3 Antworten | 1

3

Antworten

Frage


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

fast 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 7 Jahre vor | 0 Antworten | 2

0

Antworten

Frage


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

fast 7 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

etwa 7 Jahre vor | 1 Antwort | 1

1

Antwort