I am developing a model predictive controller for integer order transfer function and I am having struck at the middle can anyone tell me the remaining code?
1 view (last 30 days)
Show older comments
transfer function
G(s)= 1/s+1
code:
plant=tf(1,[1 1]);
Ts=0.1;
MV = struct('Min',-1,'Max',1);
p = 20;
m=3;
MPCobj = mpc(plant,Ts,p,m,[],MV);
0 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!