jana nassereddine
Followers: 0 Following: 0
Feeds
提问
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...
1 year 前 | 1 个回答 | 0
1
个回答提问
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=[...
1 year 前 | 1 个回答 | 0
1
个回答提问
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 ...
1 year 前 | 2 个回答 | 0
2
个回答提问
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...
1 year 前 | 2 个回答 | 0
2
个回答提问
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,...
1 year 前 | 2 个回答 | 0
2
个回答提问
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...
1 year 前 | 1 个回答 | 0
1
个回答提问
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...
1 year 前 | 1 个回答 | 0
1
个回答提问
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...
1 year 前 | 2 个回答 | 0
2
个回答提问
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...
1 year 前 | 1 个回答 | 0
1
个回答提问
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...
3 years 前 | 1 个回答 | 0
1
个回答提问
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...
3 years 前 | 1 个回答 | 0
1
个回答已回答
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; ...
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; ...
3 years 前 | 0