how i can minimiza a cost function by model predictive control?

my problem is ,i have a cost function and the aim is minimizing that in mpc.how i have to write it? this is my cost function J=sum((y1(k).*u1(k))+(r.*(u1(k)).^2)+(q.*(y2(k)).^2)) how i have to write it for minimizing by mpc?

Answers (0)

Categories

Tags

Asked:

on 2 May 2015

Community Treasure Hunt

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

Start Hunting!