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)
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);

Answers (0)

Tags

Products


Release

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!