photo

jana nassereddine


Last seen: 3 mesi fa Attivo dal 2021

Followers: 0   Following: 0

Statistica

  • Thankful Level 3
  • Thankful Level 2
  • First Answer

Visualizza badge

Feeds

Visto da

Domanda


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

12 mesi fa | 1 risposta | 0

1

risposta

Domanda


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

12 mesi fa | 1 risposta | 0

1

risposta

Domanda


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

12 mesi fa | 2 risposte | 0

2

risposte

Domanda


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

12 mesi fa | 2 risposte | 0

2

risposte

Domanda


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

quasi un anno fa | 2 risposte | 0

2

risposte

Domanda


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

circa un anno fa | 1 risposta | 0

1

risposta

Domanda


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

circa un anno fa | 1 risposta | 0

1

risposta

Domanda


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

circa un anno fa | 1 risposta | 0

1

risposta

Domanda


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

circa un anno fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 3 anni fa | 1 risposta | 0

1

risposta

Risposto
How do you solve for a double sum
pleaseeeee

circa 3 anni fa | 0

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

circa 3 anni fa | 0

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

circa 3 anni fa | 0