Community Profile

photo

jana nassereddine


Last seen: alrededor de 2 meses hace Con actividad desde 2021

Followers: 0   Following: 0

Estadísticas

  • Thankful Level 3
  • Thankful Level 2
  • First Answer

Ver insignias

Feeds

Ver por

Pregunta


how to get the cost function result from model predictive controller?
Hello everyone, so i have a model predictive controller programming code, and it works, but they don't give me the cost functi...

11 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


Arrays have incompatible sizes for this operation.
Hello, I have this code with this error, can anyone help me please? % Custom State Estimation Ts=1;ts=0.1; A=[1 0;0 1]; B=[...

11 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


Unable to perform assignment because the left and right sides have a different number of elements.
Hello everyone, so I have this code with this error: % Custom State Estimation Ts=1;ts=0.1; A=[1 0;0 1]; B=[0.0936 0.0936 0 ...

11 meses hace | 2 respuestas | 0

2

respuestas

Pregunta


How to include a model (created by me at Simulink) in Matlab script?
so I have model predictive controller with a plant model, and I created the plant model using blogs, I couldn't use the state sp...

11 meses hace | 2 respuestas | 0

2

respuestas

Pregunta


Problem with 2 plots, one in not showing and second one is showing up empty.
hello, so I have 2 small codes, with 2 plots, the first one is showing the plot empty and the second one is not showing at all,...

11 meses hace | 2 respuestas | 0

2

respuestas

Pregunta


Model predictive controller (Time domain)?
Hello everyone, So I have a state space representation, with 2 inputs and 2 states= 2 ouputs; and one disturbance ( Pgeneration...

11 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


how to improve a model predictive control in order to get a lower cost function for the system?
Hello everyone, I have implemented a model predictive control using a plant model (which has some disturbance in it), then I ru...

alrededor de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


how to fix an error:'' error in port widths or dimensions.''
Hello everyone, I made a state space representation with disturbances using blocks in simulink, then I connected this state spa...

alrededor de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


How to add disturbances into the model predictive control as an input?
hello everyone, so I have a Model Predictive Control, and I have a plant model with a state space representation (figure 1), an...

alrededor de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


my question is what is wrong with my code, the results should be in the first picture not the second.
D=zeros(6); for row=1:6 for col=1:6 if col>row %upper right corner D(row,col)=0 else if c...

más de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


four summation containing loop
hey, I wrote this code for 4 summation in matlab, and i still have one problem in " n= n+ Term5*G" where n give NAN answer and I...

casi 3 años hace | 1 respuesta | 0

1

respuesta

Respondida
How do you solve for a double sum
pleaseeeee

casi 3 años hace | 0

Respondida
How do you solve for a double sum
can someone tell me why this code is not working? clear, clc f=0; G=0 ; x= [0; 4]; y= [0; 2]; H=[0; 2]; E=[0; 3]; z=h; ...

casi 3 años hace | 0

Respondida
How do you solve for a double sum
hello, can anyone help me solve this,

casi 3 años hace | 0