Commit 22053feb authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Merge branch 'minimal_state_space_test_suite_old_matlab' into 'master'

Fix minimal state space test files for old matlab

See merge request Dynare/dynare!1700
parents 01d5d734 3ecc44b5
......@@ -253,7 +253,9 @@ function [abar,bbar,cbar,t,k] = ControllabilityStaircaseRosenbrock(a, b, c, tol)
for jj = 1 : ra
[uj,sj,vj] = svd(bjn1);
[rsj,csj] = size(sj);
p = flip(eye(rsj),2);
%p = flip(eye(rsj),2);
p = eye(rsj);
p = p(:,end:-1:1);
p = permute(p,[2 1 3:ndims(eye(rsj))]);
uj = uj*p;
bb = uj'*bjn1;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment