Skip to content

Commit

Permalink
Matlab: MHE example fix Vu_0
Browse files Browse the repository at this point in the history
  • Loading branch information
FreyJo committed Jan 6, 2021
1 parent cbb2e80 commit d65fb0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/acados_matlab_octave/lorentz/setup_estimator.m
Expand Up @@ -75,11 +75,11 @@
Vu(ny+1:ny+nu, :) = eye(nu);

Vx_0 = zeros(nout_0, nx);
Vx_0(1, 1) = 1;
Vx_0(1:ny, :) = eye(ny, nx);
Vx_0(ny+nu+1:end, :) = eye(nx);

Vu_0 = zeros(nout_0, nu);
Vu_0(nx+1:nx+nu, :) = eye(nu);
Vu_0(ny+1:ny+nu, :) = eye(nu);

yref = zeros(nout, 1);
yref_0 = zeros(nout_0, 1);
Expand Down

0 comments on commit d65fb0e

Please sign in to comment.