photo

jana nassereddine


Last seen: 6 maanden ago Active since 2021

Followers: 0   Following: 0

Statistics

  • Thankful Level 3
  • Thankful Level 2
  • First Answer

View badges

Feeds

View by

Question


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

meer dan een jaar ago | 1 answer | 0

1

answer

Question


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

meer dan een jaar ago | 1 answer | 0

1

answer

Question


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

meer dan een jaar ago | 2 answers | 0

2

answers

Question


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

meer dan een jaar ago | 2 answers | 0

2

answers

Question


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

meer dan een jaar ago | 2 answers | 0

2

answers

Question


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

meer dan een jaar ago | 1 answer | 0

1

answer

Question


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

meer dan een jaar ago | 1 answer | 0

1

answer

Question


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

meer dan een jaar ago | 2 answers | 0

2

answers

Question


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

meer dan een jaar ago | 1 answer | 0

1

answer

Question


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

ongeveer 3 jaar ago | 1 answer | 0

1

answer

Question


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

meer dan 3 jaar ago | 1 answer | 0

1

answer

Answered
How do you solve for a double sum
pleaseeeee

meer dan 3 jaar ago | 0

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

meer dan 3 jaar ago | 0

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

meer dan 3 jaar ago | 0