diff --git a/Dynamic/sparsity_constraints.m b/Dynamic/sparsity_constraints.m index 3e16834..8e5d05e 100644 --- a/Dynamic/sparsity_constraints.m +++ b/Dynamic/sparsity_constraints.m @@ -10,8 +10,8 @@ % Defines CQ and DQ both as symbolic variables and sdpvar variables CQs = sym('CQ',[m n*N]); %symbolic DQs = sym('DQ',[m n]); -CQv = sdpvar(m,n*N); %variable -DQv = sdpvar(m,n); +CQv = sdpvar(m,n*N,'full'); %variable +DQv = sdpvar(m,n,'full'); %Write the finite-dimensional approximation of the Youla parameter as per %(16) of [0] @@ -66,4 +66,4 @@ end end end -fprintf('Encoding the constraint GY(s) in R ...Done\n') \ No newline at end of file +fprintf('Encoding the constraint GY(s) in R ...Done\n')